CN103310382B - A kind of method and system for customizing data under mining integrated automation integrating platform - Google Patents
A kind of method and system for customizing data under mining integrated automation integrating platform Download PDFInfo
- Publication number
- CN103310382B CN103310382B CN201310205790.2A CN201310205790A CN103310382B CN 103310382 B CN103310382 B CN 103310382B CN 201310205790 A CN201310205790 A CN 201310205790A CN 103310382 B CN103310382 B CN 103310382B
- Authority
- CN
- China
- Prior art keywords
- data
- customization
- module
- management platform
- terminal
- 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.)
- Expired - Fee Related
Links
Landscapes
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种数据定制方法和系统,特别是一种矿山综合自动化集成平台下的数据定制方法及系统。The invention relates to a data customization method and system, in particular to a data customization method and system under a mine comprehensive automation integration platform.
背景技术Background technique
矿山综合自动化集成平台被大力推行并广泛应用,已经成为矿山安全高效生产的重要保障。在综合自动化集成平台建设中,矿山生产企业大多建立了自己的工业以太网,实现了不同程度的矿山生产和矿山管理集成,数据存储在集控室或者调度中心的集成数据库中。但是所使用的数据接收和数据显示设备大多固定在集控中心或者调度中心,无法灵活布置,各部门缺乏有效的数据获取手段。部分矿山生产企业通过Web发布对外提供数据,但是目前仍然存在许多问题:提供给各部门的数据是固定的,无法根据需求定制;无法实现实时数据的本地保存,缺乏有效的历史数据获取手段;各部门通过PC机或工控机运行浏览器软件访问Web页面,浏览数据,可是PC机或工控机无法在一些矿山生产的特殊环境中布置。The mine comprehensive automation integration platform has been vigorously promoted and widely used, and has become an important guarantee for safe and efficient mine production. In the construction of a comprehensive automation integration platform, most mine production enterprises have established their own industrial Ethernet to achieve different levels of mine production and mine management integration, and the data is stored in the integrated database of the centralized control room or dispatch center. However, most of the data receiving and data display equipment used are fixed in the centralized control center or dispatching center, which cannot be flexibly arranged, and each department lacks effective means of data acquisition. Some mine production enterprises provide data through web publishing, but there are still many problems: the data provided to various departments is fixed and cannot be customized according to needs; local storage of real-time data cannot be realized, and effective historical data acquisition methods are lacking; Departments run browser software on PCs or industrial computers to access web pages and browse data, but PCs or industrial computers cannot be deployed in some special environments for mine production.
发明内容Contents of the invention
本发明的目的是提供一种矿山综合自动化集成平台下的数据定制方法及系统,解决矿山综合自动化集成平台下数据获取不方便、提供的数据内容固定、数据接收和数据显示设备布置不灵活等问题,为各部门的数据获取和显示提供方便、快捷的解决方案。The purpose of the present invention is to provide a data customization method and system under the mine comprehensive automation integration platform to solve the problems of inconvenient data acquisition under the mine comprehensive automation integration platform, fixed data content provided, inflexible arrangement of data receiving and data display equipment, etc. , to provide convenient and fast solutions for data acquisition and display of various departments.
本发明的目的是这样实现的:本发明提供了一种数据定制方法及系统;The object of the present invention is achieved like this: the present invention provides a kind of data customization method and system;
所述的数据定制方法:以矿山综合自动化集成平台下的集成数据库作为共享数据源,建立数据定制的服务器端数据管理平台和客户端前置定制终端,实现数据定制;数据管理平台审核登陆请求,发送数据项目清单,审核数据定制请求,访问集成数据库并分发数据,为前置定制终端的终端用户提供服务器端数据定制服务,同时为管理员用户提供用户注册与权限设置、数据项目清单添加与删除、日志记录与查询统计服务;前置定制终端是终端用户的使用装置,通过有线或无线方式接入以太网,登陆数据管理平台,请求数据项目清单,定制数据,请求数据,为终端用户提供客户端数据定制服务,同时还提供数据显示和数据存储服务;数据管理平台和前置定制终端通过以太网相连,采用TCP/IP协议传输数据。Described data customization method: use the integrated database under the mine comprehensive automation integration platform as a shared data source, establish a server-side data management platform and a client front-end customization terminal for data customization, and realize data customization; the data management platform reviews the login request, Send a list of data items, review data customization requests, access the integrated database and distribute data, provide server-side data customization services for end users of pre-customized terminals, and provide user registration and permission settings, data item list addition and deletion for administrator users , log record and query statistical services; the front-end customized terminal is the device used by the end user, which is connected to the Ethernet through wired or wireless, logs in to the data management platform, requests a list of data items, customizes data, requests data, and provides end users with customer Terminal data customization services, as well as data display and data storage services; the data management platform and the front-end customization terminal are connected through Ethernet, and the data is transmitted using TCP/IP protocol.
所述的数据定制方法的具体步骤为:The specific steps of the described data customization method are:
步骤一、终端用户通过前置定制终端建立与数据管理平台的连接,输入用户名和密码,向数据管理平台发送终端用户登陆请求,成功登陆的前提是终端用户已经由管理员用户在数据管理平台注册,如果没有注册,需要先由管理员用户在数据管理平台完成注册,并设置访问权限;Step 1. The end user establishes a connection with the data management platform through the pre-customized terminal, enters the user name and password, and sends the end user login request to the data management platform. The premise of successful login is that the end user has been registered on the data management platform by the administrator user , if not registered, the administrator user needs to complete the registration on the data management platform first and set the access rights;
步骤二、数据管理平台根据终端用户的注册信息,审核登陆请求,向终端用户使用的前置定制终端发送登陆请求审核结果;Step 2: The data management platform reviews the login request according to the registration information of the terminal user, and sends the login request review result to the pre-customized terminal used by the terminal user;
步骤三、前置定制终端判断终端用户登陆请求是否通过审核,如果通过审核,终端用户通过前置定制终端向数据管理平台发送数据项目清单请求,否则,执行步骤一,重新输入用户名和密码,向数据管理平台发送终端用户登陆请求;Step 3. The pre-customized terminal judges whether the terminal user’s login request has passed the review. If it passes the review, the terminal user sends a data item list request to the data management platform through the pre-customized terminal. Otherwise, perform step 1, re-enter the user name and password, and send to the The data management platform sends an end user login request;
步骤四、数据管理平台向终端用户使用的前置定制终端发送数据项目清单;Step 4. The data management platform sends a list of data items to the pre-customized terminal used by the end user;
步骤五、终端用户根据数据项目清单定制数据,向数据管理平台发送数据定制请求;Step 5. The end user customizes the data according to the list of data items, and sends a data customization request to the data management platform;
步骤六、数据管理平台根据终端用户的权限,审核数据定制请求,如果发现终端用户的数据定制请求超出终端用户的权限,提示管理员用户人工审核,审核结束后,向终端用户使用的前置定制终端发送数据定制请求审核结果;Step 6. The data management platform reviews the data customization request according to the authority of the end user. If it finds that the data customization request of the end user exceeds the authority of the end user, it prompts the administrator user to manually review. After the audit is completed, the pre-customization used by the end user The terminal sends the data customization request review result;
步骤七、前置定制终端判断终端用户的数据定制请求是否通过审核,如通过审核,向数据管理平台发送数据请求,否则,执行步骤五;Step 7. The pre-customization terminal judges whether the data customization request of the end user has passed the review, and if it passes the review, sends the data request to the data management platform, otherwise, executes step 5;
步骤八、数据管理平台根据数据定制请求,从集成数据库中读取数据,分发给终端用户使用的前置定制终端。Step 8: The data management platform reads the data from the integrated database according to the data customization request, and distributes it to the pre-customized terminals used by the end users.
步骤九、前置定制终端接收数据,并显示、存储数据。Step 9: The pre-customized terminal receives the data, displays and stores the data.
所述的数据定制方法的数据定制包括数据项目定制和数据类型定制;数据项目定制的任务是从数据管理平台提供的数据项目清单中选取数据项目作为定制内容;数据类型定制的任务是设定数据的类型,数据类型分为:实时数据和历史数据,如果是实时数据,在数据定制中还包括实时数据获取的时间间隔,如果是历史数据,在数据定制中还包括历史数据的起始时间和截止时间。The data customization of the described data customization method includes data item customization and data type customization; the task of data item customization is to select data items as customization content from the data item list provided by the data management platform; the task of data type customization is to set data The type of data is divided into: real-time data and historical data. If it is real-time data, the time interval of real-time data acquisition is also included in the data customization. If it is historical data, the start time and time interval of the historical data are also included in the data customization. deadline.
所述的数据定制系统,包括集成数据库、数据管理平台、前置定制终端。The data customization system includes an integrated database, a data management platform, and a front-end customization terminal.
所述的集成数据库,对应的硬件是存储集成数据库的计算机存储装置,位于集控中心或调度中心,存储了矿山综合自动化集成平台下矿山生产、矿山管理的实时和历史数据;所述的数据管理平台,对应的硬件是运行数据管理平台软件的工控机,位于集控中心或者调度中心,是系统的服务器端,对应的软件包括服务器端数据定制模块、用户管理模块、数据项目清单管理模块和日志管理模块;所述的前置定制终端包括硬件和软件,是系统的客户端和终端用户的使用装置,通过有线或无线方式接入以太网,与数据管理平台相连,传输数据。The integrated database, the corresponding hardware is a computer storage device for storing the integrated database, which is located in the centralized control center or the dispatching center, and stores the real-time and historical data of mine production and mine management under the mine comprehensive automation integration platform; the data management Platform, the corresponding hardware is the industrial computer running the data management platform software, which is located in the centralized control center or dispatching center, and is the server side of the system, and the corresponding software includes server-side data customization module, user management module, data item list management module and log Management module; the pre-customized terminal includes hardware and software, and is a system client and terminal user's device. It is connected to the Ethernet through wired or wireless mode, connected to the data management platform, and transmits data.
所述的前置定制终端的硬件包括:核心处理模块、数据存储模块、触摸屏输入模块、显示输出模块、以太网数据交换模块、USB模块;核心处理模块选用S3C6410芯片,与数据存储模块、触摸屏输入模块、显示输出模块、以太网数据交换模块和USB模块相连;数据存储模块与S3C6410芯片的存储器接口相连,包括程序存储模块、历史数据存储模块、实时数据存储模块;触摸屏输入模块为电阻式触摸屏,与S3C6410芯片的四线电阻触摸屏接口相连,接收终端用户的数据定制输入、数据显示设置输入、数据存储设置输入;显示输出模块与S3C6410芯片的LCD输出接口相连,支持自带液晶屏的驱动,同时通过信号转换电路对外提供三种显示设备端口:TTL端口、LVDS端口和VGA端口,设有显示设备切换按键,多次按下该键,实现不同输出设备的依次切换;以太网数据交换模块与S3C6410芯片的数据总线、地址总线和控制总线相连,采用以太网控制器芯片,输出标准RJ45端口;USB模块与S3C6410芯片的USB主设备接口相连,通过USB集线器芯片扩展USB端口,输出四个USB端口,支持USB无线网卡和其它USB扩展设备的接入。The hardware of the described pre-customized terminal includes: a core processing module, a data storage module, a touch screen input module, a display output module, an Ethernet data exchange module, and a USB module; Module, display output module, Ethernet data exchange module and USB module are connected; data storage module is connected with the memory interface of S3C6410 chip, including program storage module, historical data storage module, real-time data storage module; touch screen input module is a resistive touch screen, It is connected with the four-wire resistive touch screen interface of the S3C6410 chip, and receives the data customization input, data display setting input, and data storage setting input of the end user; the display output module is connected with the LCD output interface of the S3C6410 chip, and supports the drive of the built-in LCD screen. Three kinds of display device ports are provided externally through the signal conversion circuit: TTL port, LVDS port and VGA port. There is a display device switch button, which can be pressed several times to switch between different output devices in sequence; the Ethernet data exchange module and S3C6410 The data bus, address bus and control bus of the chip are connected, and the Ethernet controller chip is used to output the standard RJ45 port; the USB module is connected to the USB master interface of the S3C6410 chip, and the USB port is expanded through the USB hub chip to output four USB ports. Support the access of USB wireless network card and other USB expansion devices.
所述的前置定制终端的软件包括:客户端数据定制模块、数据显示设置模块和数据存储设置模块;客户端数据定制模块与数据管理平台的服务器端数据定制模块通信,获取定制数据;数据显示设置模块,通过设置数据显示的字体、颜色、大小、显示与隐藏、布局,设置数据的显示模式;数据存储设置模块,通过设置数据存储的逻辑条件或时间间隔,设置数据的存储模式。The software of the pre-customized terminal includes: a client data customization module, a data display setting module and a data storage setting module; the client data customization module communicates with the server-side data customization module of the data management platform to obtain custom data; the data display The setting module sets the data display mode by setting the font, color, size, display and hiding, and layout of the data display; the data storage setting module sets the data storage mode by setting the logical conditions or time intervals of data storage.
有益效果,上述方案,尤其是前置定制终端,考虑了终端用户需求的多样性。在硬件上,前置定制终端提供两种方式接入以太网:基于以太网数据交换模块的有线接入方式和基于外接USB无线网卡的无线接入方式;设有显示设备切换按键,每次启动,默认输出设备是自带液晶屏,多次按下该键,实现不同输出设备的依次切换。在软件上,通过触摸屏,终端用户能够定制数据,设置数据显示模式和数据存储模式;数据显示设置模块和数据存储设置模块一般在客户端数据定制模块中调用,用于设置数据显示模式和数据存储模式,也可以随时根据需要设置,如果不调用,数据显示和数据存储采用默认设置;数据显示设置模块和数据存储设置模块的设置参数存储在程序存储模块中,可以长期使用;历史数据存储在历史数据存储模块中,可以通过外接USB闪存盘复制,用于其它应用。Beneficial effects, the above solution, especially the front customized terminal, takes into account the diversity of end user needs. In terms of hardware, the front-end customized terminal provides two ways to access Ethernet: wired access based on the Ethernet data exchange module and wireless access based on an external USB wireless network card; there is a display device switching button, and each startup , the default output device is a built-in LCD screen, press this key several times to switch between different output devices in sequence. In terms of software, through the touch screen, end users can customize data, set the data display mode and data storage mode; the data display setting module and data storage setting module are generally called in the client data customization module to set the data display mode and data storage The mode can also be set at any time according to the needs. If it is not called, the data display and data storage adopt the default settings; the setting parameters of the data display setting module and data storage setting module are stored in the program storage module, which can be used for a long time; the historical data is stored in the history In the data storage module, it can be copied through an external USB flash drive for other applications.
优点:1、能够实现不同定制数据的同时发布,并针对不同终端用户的定制请求,随时变更传输内容;2、能够实现实时数据和历史数据的获取、显示与存储,解决各部门数据资料的获取、显示与存储问题;3、前置定制终端采用有线或无线方式接入以太网,且按照本质安全电路标准设计,能够方便地应用于矿山企业的各种工作场合。Advantages: 1. It can release different customized data at the same time, and change the transmission content at any time according to the customization requests of different end users; 2. It can realize the acquisition, display and storage of real-time data and historical data, and solve the acquisition of data of various departments . Display and storage issues; 3. The pre-customized terminal adopts wired or wireless access to Ethernet, and is designed according to intrinsically safe circuit standards, which can be easily applied to various workplaces of mining enterprises.
附图说明Description of drawings
图1为本发明实施例的数据定制方法流程图。FIG. 1 is a flowchart of a data customization method according to an embodiment of the present invention.
图2为本发明实施例的数据定制系统组成结构图。Fig. 2 is a structural diagram of the data customization system of the embodiment of the present invention.
图3为本发明实施例的数据管理平台的软件结构图。Fig. 3 is a software structure diagram of the data management platform of the embodiment of the present invention.
图4为本发明实施例的数据管理平台的服务器端数据定制模块工作流程图。Fig. 4 is a working flow chart of the server-side data customization module of the data management platform according to the embodiment of the present invention.
图5为本发明实施例的前置定制终端的硬件结构图。FIG. 5 is a hardware structural diagram of a front-end customized terminal according to an embodiment of the present invention.
图6为本发明实施例的前置定制终端的软件结构图。FIG. 6 is a software structure diagram of a front-end customization terminal according to an embodiment of the present invention.
图7为本发明实施例的前置定制终端软件的客户端数据定制模块工作流程图。Fig. 7 is a working flow chart of the client data customization module of the pre-customized terminal software according to the embodiment of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步说明。The present invention will be further described below in conjunction with drawings and embodiments.
实施例:本发明提供了一种数据定制方法及系统。Embodiment: The present invention provides a method and system for customizing data.
所述的数据定制方法:以矿山综合自动化集成平台下的集成数据库作为共享数据源,使用计算机技术和数字电子设计技术建立数据定制的服务器端数据管理平台和客户端前置定制终端,采用客户机/服务器模式实现数据的定制。集成数据库是矿山综合自动化集成的产物,存储了矿山生产、矿山管理的实时和历史数据;数据管理平台负责服务器端数据定制,并通过操作界面提供管理功能,包括用户注册与权限设置、数据项目清单添加与删除、日志记录与查询统计;前置定制终端是终端用户的使用装置,通过有线或无线方式接入以太网,接收用户的输入,为终端用户提供客户端数据定制服务,同时还提供数据显示和数据存储服务;数据管理平台和前置定制终端通过以太网相连,采用TCP/IP协议传输数据。The data customization method: using the integrated database under the mine comprehensive automation integration platform as a shared data source, using computer technology and digital electronic design technology to establish a data customization server-side data management platform and a client front-end customization terminal, using the client /Server mode realizes data customization. The integrated database is the product of mine comprehensive automation integration, which stores real-time and historical data of mine production and mine management; the data management platform is responsible for server-side data customization, and provides management functions through the operation interface, including user registration and authority settings, and data item list Add and delete, log record and query statistics; the pre-customized terminal is the device used by the end user, which is connected to the Ethernet through a wired or wireless method, receives the user's input, provides the end user with client data customization services, and also provides data Display and data storage services; the data management platform and the pre-customized terminal are connected through Ethernet, and the data is transmitted by TCP/IP protocol.
数据管理平台的服务器端数据定制和前置定制终端的客户端数据定制协同工作,实现数据定制;服务器端数据定制包括终端用户登陆请求审核、数据项目清单发送、终端用户数据定制请求审核、集成数据库访问及数据分发;客户端数据定制包括终端用户登陆、数据项目清单请求、数据定制、数据请求(包括数据请求发送、数据接收,以及数据显示和数据存储)。图1为本发明实施例的数据定制方法流程图,数据定制方法的具体步骤包括:The server-side data customization of the data management platform and the client-side data customization of the pre-customized terminal work together to realize data customization; the server-side data customization includes end user login request review, data item list sending, end user data customization request review, and integrated database Access and data distribution; client data customization includes terminal user login, data item list request, data customization, data request (including data request sending, data receiving, and data display and data storage). Fig. 1 is the flow chart of the data customizing method of the embodiment of the present invention, and the specific steps of the data customizing method include:
步骤一、终端用户通过前置定制终端建立与数据管理平台的连接,输入用户名和密码,向数据管理平台发送终端用户登陆请求,成功登陆的前提是终端用户已经由管理员用户在数据管理平台注册,如果没有注册,需要先由管理员用户在数据管理平台完成注册,并设置访问权限;Step 1. The end user establishes a connection with the data management platform through the pre-customized terminal, enters the user name and password, and sends the end user login request to the data management platform. The premise of successful login is that the end user has been registered on the data management platform by the administrator user , if not registered, the administrator user needs to complete the registration on the data management platform first and set the access rights;
步骤二、数据管理平台根据终端用户的注册信息,审核登陆请求,向终端用户使用的前置定制终端发送登陆请求审核结果;Step 2: The data management platform reviews the login request according to the registration information of the terminal user, and sends the login request review result to the pre-customized terminal used by the terminal user;
步骤三、前置定制终端判断终端用户登陆请求是否通过审核,如果通过审核,终端用户通过前置定制终端向数据管理平台发送数据项目清单请求,否则,执行步骤一,重新输入用户名和密码,向数据管理平台发送终端用户登陆请求;Step 3. The pre-customized terminal judges whether the terminal user’s login request has passed the review. If it passes the review, the terminal user sends a data item list request to the data management platform through the pre-customized terminal. Otherwise, perform step 1, re-enter the user name and password, and send to the The data management platform sends an end user login request;
步骤四、数据管理平台向终端用户使用的前置定制终端发送数据项目清单;Step 4. The data management platform sends a list of data items to the pre-customized terminal used by the end user;
步骤五、终端用户根据数据项目清单定制数据,向数据管理平台发送数据定制请求;Step 5. The end user customizes the data according to the list of data items, and sends a data customization request to the data management platform;
步骤六、数据管理平台根据终端用户的权限,审核数据定制请求,如果发现终端用户的数据定制请求超出终端用户的权限,提示管理员用户人工审核,审核结束后,向终端用户使用的前置定制终端发送数据定制请求审核结果;Step 6. The data management platform reviews the data customization request according to the authority of the end user. If it finds that the data customization request of the end user exceeds the authority of the end user, it prompts the administrator user to manually review. After the audit is completed, the pre-customization used by the end user The terminal sends the data customization request review result;
步骤七、前置定制终端判断终端用户的数据定制请求是否通过审核,如通过审核,向数据管理平台发送数据请求,否则,执行步骤五;Step 7. The pre-customization terminal judges whether the data customization request of the end user has passed the review, and if it passes the review, sends the data request to the data management platform, otherwise, executes step 5;
步骤八、数据管理平台根据数据定制请求,从集成数据库中读取数据,分发给终端用户使用的前置定制终端。Step 8: The data management platform reads the data from the integrated database according to the data customization request, and distributes it to the pre-customized terminals used by the end users.
步骤九、前置定制终端接收数据,并显示、存储数据。Step 9: The pre-customized terminal receives the data, displays and stores the data.
数据定制包括数据项目定制和数据类型定制,其中数据项目定制的任务是从数据管理平台提供的数据项目清单中选取数据项目作为定制内容;数据类型定制的任务是设定数据的类型,数据类型分为:实时数据和历史数据,如果是实时数据,在数据定制中还包括实时数据获取的时间间隔,如果是历史数据,在数据定制中还包括历史数据的起始时间和截止时间。数据定制的输入由前置定制终端的终端用户完成,数据定制请求发送到数据管理平台,数据管理平台负责数据定制的审核。Data customization includes data item customization and data type customization. The task of data item customization is to select data items from the list of data items provided by the data management platform as customization content; the task of data type customization is to set the type of data. For: real-time data and historical data, if it is real-time data, the time interval of real-time data acquisition is also included in the data customization, and if it is historical data, the start time and deadline of the historical data are also included in the data customization. The input of data customization is completed by the end user of the pre-customization terminal, the data customization request is sent to the data management platform, and the data management platform is responsible for the review of data customization.
图2为本发明实施例的数据定制系统组成结构图,数据定制系统包括集成数据库、数据管理平台、前置定制终端。Fig. 2 is a structural diagram of a data customization system according to an embodiment of the present invention. The data customization system includes an integrated database, a data management platform, and a front-end customization terminal.
所述的集成数据库,作为数据定制的数据源,对应的硬件是存储集成数据库的计算机存储装置,位于集控中心或者调度中心,存储了矿山综合自动化集成平台下矿山生产、矿山管理的实时和历史数据;所述的数据管理平台,对应的硬件是运行数据管理平台软件的工控机,位于集控中心或者调度中心,是系统的服务器端,作为系统的管理中心,提供操作界面,由管理员用户负责日常的维护,对应的软件包括服务器端数据定制和辅助管理功能;所述的前置定制终端是系统的客户端和终端用户的使用装置,包括硬件和软件,通过有线或无线方式接入以太网,与数据管理平台相连,采用TCP/IP协议传输数据,可以布置在矿山生产的任何一个网络覆盖的地方。The integrated database, as a data source for data customization, the corresponding hardware is a computer storage device for storing the integrated database, which is located in the centralized control center or the dispatching center, and stores the real-time and historical data of mine production and mine management under the mine comprehensive automation integration platform Data; the data management platform, the corresponding hardware is the industrial computer running the data management platform software, located in the centralized control center or dispatching center, is the server end of the system, as the management center of the system, provides the operation interface, by the administrator user Responsible for daily maintenance, the corresponding software includes server-side data customization and auxiliary management functions; the pre-customized terminal is the client of the system and the device used by the end user, including hardware and software, connected to the Ethernet through wired or wireless The network is connected to the data management platform and uses TCP/IP protocol to transmit data, which can be deployed in any network coverage of mine production.
图3为本发明实施例的数据管理平台的软件结构图,主要包括:Fig. 3 is the software structural diagram of the data management platform of the embodiment of the present invention, mainly comprises:
服务器端数据定制模块,审核终端用户登陆请求,发送数据项目清单,审核终端用户数据定制请求,访问集成数据库,分发数据,如图4,该模块的工作流程为:The server-side data customization module reviews terminal user login requests, sends a list of data items, reviews end user data customization requests, accesses the integrated database, and distributes data, as shown in Figure 4. The workflow of this module is:
步骤一、侦听来自前置定制终端的连接请求,建立连接,等待并审核终端用户的登陆请求,向终端用户使用的前置定制终端发送登陆请求审核结果;成功登陆的前提是终端用户已经由管理员用户在数据管理平台注册,如果没有注册,需要先由管理员用户在数据管理平台完成注册,并设置访问权限;登陆请求如果通过审核,执行步骤二,否则继续执行步骤一,等待并审核该终端用户的登陆请求;Step 1. Listen to the connection request from the front-end customized terminal, establish a connection, wait for and review the login request of the end user, and send the audit result of the login request to the front-end customized terminal used by the end user; the premise of successful login is that the end user has been registered by The administrator user registers on the data management platform. If not registered, the administrator user needs to complete the registration on the data management platform first and set the access rights; if the login request passes the review, go to step 2, otherwise continue to step 1, wait and review The login request of the end user;
步骤二、等待前置定制终端的数据项目清单发送请求,向前置定制终端发送数据项目清单;Step 2: Waiting for the data item list sending request of the pre-customized terminal, and sending the data item list to the pre-customized terminal;
步骤三、等待前置定制终端的数据定制请求,根据前置定制终端的终端用户权限,审核数据定制请求,向终端用户使用的前置定制终端发送数据定制请求审核结果;当终端用户的数据定制请求超出终端用户权限时,提示管理员用户人工审核,如果在规定的时间内,管理员没有操作,默认没有通过审核;数据定制请求如果通过审核,执行步骤四,否则重新执行步骤三;Step 3: Wait for the data customization request from the front-end customization terminal, review the data customization request according to the end-user authority of the front-end customization terminal, and send the audit result of the data customization request to the front-end customization terminal used by the end user; when the end-user's data customization When the request exceeds the authority of the end user, the administrator user will be prompted to review manually. If the administrator does not operate within the specified time, the review will not pass the review by default; if the data customization request passes the review, go to step 4, otherwise go to step 3 again;
步骤四、等待前置定制终端的数据请求,根据数据定制请求从集成数据库中读取数据,分发给前置定制终端;Step 4: Waiting for the data request from the pre-customized terminal, reading data from the integrated database according to the data customization request, and distributing it to the pre-customized terminal;
用户管理模块,用于终端用户、管理员用户的注册、修改、删除,以及权限设置;终端用户由管理员用户注册,注册终端用户时,需要录入终端用户基本资料,确定用户名和密码,设置访问权限;管理员用户由数据管理平台软件的超级管理员用户注册,注册管理员用户时,需要录入管理员基本资料,确定用户名和密码,设置管理权限;The user management module is used for registration, modification, deletion, and permission setting of terminal users and administrator users; terminal users are registered by administrator users. When registering terminal users, it is necessary to enter basic information of terminal users, determine user names and passwords, and set access Authority; the administrator user is registered by the super administrator user of the data management platform software. When registering the administrator user, it is necessary to enter the administrator's basic information, determine the user name and password, and set the management authority;
数据项目清单管理模块,用于数据项目的添加、删除,以及安全等级设置,其中数据项目的安全等级与终端用户访问权限相关联,终端用户的访问权限越高,所能访问的数据项目的安全级别越高,如果终端用户定制的数据项目超出了自身的权限,数据管理平台会提示管理员用户人工审核;The data item list management module is used for adding, deleting, and setting security levels of data items. The security level of data items is associated with the access rights of end users. The higher the access rights of end users, the more secure the data items that can be accessed. The higher the level, if the data item customized by the end user exceeds its own authority, the data management platform will prompt the administrator user to manually review;
日志管理模块,负责记录系统产生的所有行为,提供对日志记录的查询、统计分析功能,其中查询、统计分析的筛选条件包括时间、用户名、数据项目、数据类型。The log management module is responsible for recording all behaviors generated by the system, and provides query and statistical analysis functions for log records. The filter conditions for query and statistical analysis include time, user name, data item, and data type.
图5为本发明实施例的前置定制终端的硬件结构图,具体包括:FIG. 5 is a hardware structural diagram of a pre-customized terminal according to an embodiment of the present invention, specifically including:
核心处理模块,选用S3C6410芯片,该芯片基于ARM1176内核,具有各种存储器接口,集成了LCD控制器、系统管理器、UART、DMA、定时器、通用I/O端口、IIS总线接口、IIC总线接口、USB主设备、SD主设备和高速多媒体卡等硬件设备。核心处理模块与其它各模块相连,运行前置定制终端软件,获取定制数据。The core processing module uses the S3C6410 chip, which is based on the ARM1176 core and has various memory interfaces, integrating LCD controller, system manager, UART, DMA, timer, general I/O port, IIS bus interface, and IIC bus interface , USB master device, SD master device and high-speed multimedia card and other hardware devices. The core processing module is connected with other modules, runs the pre-customized terminal software, and obtains customized data.
数据存储模块,与S3C6410芯片的存储器接口相连,包括程序存储模块、历史数据存储模块、实时数据存储模块。程序存储模块采用一块高速NAND Flash HY27UF082G2B芯片,存储容量为256MB,用于存储已调试好的前置定制终端软件以及系统掉电后需要保存的终端用户配置参数;历史数据存储模块同样采用一块HY27UF082G2B芯片,用于存储已接收的数据;实时数据存储模块是动态随机存储器,采用两块高速的同步动态随机存储器K4X51163PC芯片,存储容量为128MB,作为前置定制终端运行时,程序和数据的临时存储单元。The data storage module is connected with the memory interface of the S3C6410 chip, and includes a program storage module, a historical data storage module and a real-time data storage module. The program storage module uses a high-speed NAND Flash HY27UF082G2B chip with a storage capacity of 256MB, which is used to store the debugged pre-customized terminal software and the terminal user configuration parameters that need to be saved after the system is powered off; the historical data storage module also uses a HY27UF082G2B chip , used to store received data; the real-time data storage module is a DRAM, using two high-speed synchronous DRAM K4X51163PC chips, with a storage capacity of 128MB, as a temporary storage unit for programs and data when the pre-customized terminal is running .
触摸屏输入模块,采用电阻式触摸屏,与S3C6410芯片的四线电阻触摸屏接口相连。S3C6410内置一个8通道的10位逐次逼近型模数转换器,本实施例以S3C6410的YM、YP、XM、XP四个模拟输入通道作为触摸屏的接口。设置模数转换器为等待中断模式,在该模式中,当触控笔按下时,产生触摸屏中断,开始AD采样,该模式的中断分为两种:当触控笔在触摸屏上按下或者离开时,产生触摸屏中断;当采样完成,产生AD采样完成中断。触控笔在触摸屏上某位置按下时,电阻式触摸屏的X和Y方向的电阻会发生变化,通过采样X和Y方向的电压变化来计算触控笔在屏幕上按下的坐标位置。The touch screen input module adopts a resistive touch screen and is connected with the four-wire resistive touch screen interface of the S3C6410 chip. S3C6410 has a built-in 8-channel 10-bit successive approximation analog-to-digital converter. In this embodiment, four analog input channels of S3C6410, YM, YP, XM, and XP, are used as the interface of the touch screen. Set the analog-to-digital converter to wait for interrupt mode. In this mode, when the stylus is pressed, a touch screen interrupt is generated and AD sampling starts. There are two types of interrupts in this mode: when the stylus is pressed on the touch screen or When leaving, a touch screen interrupt is generated; when the sampling is completed, an AD sampling completion interrupt is generated. When the stylus is pressed on a certain position on the touch screen, the resistance in the X and Y directions of the resistive touch screen will change, and the coordinate position where the stylus is pressed on the screen is calculated by sampling the voltage changes in the X and Y directions.
显示输出模块,与S3C6410芯片LCD接口相连,通过LCD输出端口输出TTL电平支持自带液晶屏的驱动,同时通过信号转换电路对外提供三种显示设备端口:TTL端口,S3C6410集成了LCD控制器,输出TTL信号,连接TTL端口;LVDS端口,使用DS90C385芯片将S3C6410的TTL电平显示输出信号转换成低电压串行LVDS信号,连接LVDS端口;VGA端口,使用SDA7123将S3C6410的TTL电平显示输出信号转换为模拟VGA信号,连接VGA端口。显示输出模块设有显示设备切换按键,每次启动,默认输出设备是自带液晶屏,多次按下该键,实现不同输出设备的依次切换。The display output module is connected to the LCD interface of the S3C6410 chip, and the TTL level is output through the LCD output port to support the drive of the built-in LCD screen. At the same time, the signal conversion circuit provides three types of display device ports: TTL port, S3C6410 integrates the LCD controller, Output TTL signal, connect to TTL port; LVDS port, use DS90C385 chip to convert TTL level display output signal of S3C6410 into low voltage serial LVDS signal, connect to LVDS port; VGA port, use SDA7123 to display TTL level display output signal of S3C6410 Convert to analog VGA signal, connect to VGA port. The display output module is equipped with a display device switching button. Every time it is started, the default output device is a built-in LCD screen. Press this button multiple times to switch between different output devices in sequence.
以太网数据交换模块,与S3C6410芯片的数据总线、地址总线和控制总线相连,该模块采用以太网控制器DM9000AEP芯片,通过网络滤波器磁阻元件输出标准RJ45接口,用于接入以太网络。The Ethernet data exchange module is connected with the data bus, address bus and control bus of the S3C6410 chip. This module uses the Ethernet controller DM9000AEP chip and outputs a standard RJ45 interface through the network filter magnetic resistance element for accessing the Ethernet network.
USB模块,与S3C6410芯片的USB主设备接口相连,通过USB集线器AU9254A21芯片扩展USB端口,把USB接口扩展为四个,其中无线网卡USB端口用于无线网卡的以太网接入,其它USB端口代表三个USB端口,用于鼠标、键盘、外存储器等其它USB外设的接入。The USB module is connected with the USB master device interface of the S3C6410 chip, and the USB port is expanded through the USB hub AU9254A21 chip, and the USB interface is expanded to four, among which the USB port of the wireless network card is used for the Ethernet access of the wireless network card, and the other USB ports represent three One USB port for accessing other USB peripherals such as mouse, keyboard, and external memory.
图6为本发明实施例的前置定制终端的软件结构图,该软件基于Linux嵌入式操作系统,包括:Fig. 6 is the software structural diagram of the pre-customized terminal of the embodiment of the present invention, and this software is based on Linux embedded operating system, comprises:
客户端数据定制模块,与数据管理平台的服务器端数据定制模块通信,登陆数据管理平台,请求数据项目清单,定制数据,请求数据,实现数据定制,如图7,该模块的工作流程为:The client-side data customization module communicates with the server-side data customization module of the data management platform, logs in to the data management platform, requests a list of data items, customizes data, requests data, and realizes data customization, as shown in Figure 7. The workflow of this module is:
步骤一、前置定制终端建立与数据管理平台的连接,输入用户名和密码,向数据管理平台发送终端用户登陆请求,如果通过审核,成功登陆,执行步骤二,否则继续执行步骤一,重新输入用户名和密码,向数据管理平台发送终端用户登陆请求;Step 1. The pre-customized terminal establishes a connection with the data management platform, enters the user name and password, and sends a terminal user login request to the data management platform. If it passes the audit and successfully logs in, go to step 2; otherwise, go to step 1 and re-enter the user username and password, and send a terminal user login request to the data management platform;
步骤二、向数据管理平台发送数据项目清单请求;Step 2. Send a data item list request to the data management platform;
步骤三、从收到的数据项目清单中选择数据项目,确定数据的数据类型,定制数据,向数据管理平台发送数据定制请求;数据项目清单在前置定制终端显示时,终端用户有权限访问的数据项目以黑色字体显示,无权限访问的数据项目以红色字体显示,终端用户从上述两种数据项目中自由选择数据项目定制数据,如果选择红色字体的数据项目定制数据,数据管理平台在审核数据定制请求时,会发现数据定制请求超出了终端用户的权限,此时会提示管理员用户人工审核;如果数据定制请求通过审核,执行步骤四,否则重新执行步骤三;Step 3. Select a data item from the list of received data items, determine the data type of the data, customize the data, and send a data customization request to the data management platform; when the list of data items is displayed on the front customization terminal, the terminal user has permission to access Data items are displayed in black fonts, and data items without access rights are displayed in red fonts. End users can freely choose data items to customize data from the above two data items. If they choose data items with red fonts to customize data, the data management platform is reviewing the data. When customizing the request, it will be found that the data customization request exceeds the authority of the end user. At this time, the administrator user will be prompted to manually review; if the data customization request passes the review, perform step 4, otherwise perform step 3 again;
步骤四、设置数据显示模式和存储模式,向数据管理平台发送数据请求;Step 4. Set the data display mode and storage mode, and send a data request to the data management platform;
步骤五、接收数据,并按照预设的模式显示、存储数据。Step 5. Receive the data, display and store the data according to the preset mode.
数据显示设置模块,通过设置数据显示的字体、颜色、大小、显示和隐藏、布局,设置数据显示模式,一般在客户端数据定制模块中调用该模块来设置数据显示模式,也可以随时根据需要调用,相关的配置参数存储在程序存储模块中,如果不设置,采用默认设置。The data display setting module sets the data display mode by setting the font, color, size, display and hiding, and layout of the data display. Generally, this module is called in the client data customization module to set the data display mode, and it can also be called at any time as needed , the relevant configuration parameters are stored in the program memory module, if not set, the default setting is adopted.
数据存储设置模块,通过设置数据存储的逻辑条件、时间间隔,设置数据的存储模式,存储的数据作为历史数据存储在历史数据存储模块中,一般在客户端数据定制模块中调用该模块来设置数据存储模式,也可以随时根据需要调用,相关的配置参数存储在程序存储模块中,如果不设置,采用默认设置。The data storage setting module, by setting the logical conditions and time intervals of data storage, and setting the data storage mode, the stored data is stored in the historical data storage module as historical data, which is generally called in the client data customization module to set the data The storage mode can also be called at any time as needed, and the relevant configuration parameters are stored in the program storage module. If not set, the default setting will be used.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310205790.2A CN103310382B (en) | 2013-05-28 | 2013-05-28 | A kind of method and system for customizing data under mining integrated automation integrating platform |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310205790.2A CN103310382B (en) | 2013-05-28 | 2013-05-28 | A kind of method and system for customizing data under mining integrated automation integrating platform |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103310382A CN103310382A (en) | 2013-09-18 |
| CN103310382B true CN103310382B (en) | 2016-09-21 |
Family
ID=49135562
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310205790.2A Expired - Fee Related CN103310382B (en) | 2013-05-28 | 2013-05-28 | A kind of method and system for customizing data under mining integrated automation integrating platform |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103310382B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104914795A (en) * | 2014-03-10 | 2015-09-16 | 杭州智尔科技有限公司 | Intelligent cloud control module |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101051365A (en) * | 2007-05-11 | 2007-10-10 | 皮喜田 | System and method for individualizing custom-made to wine products |
| CN101067816A (en) * | 2006-05-04 | 2007-11-07 | 三星电子株式会社 | Embedded display system and method used by the system |
| CN101652787A (en) * | 2007-03-30 | 2010-02-17 | 微软公司 | In-memory caching of shared customizable multi-tenant data |
| CN102498468A (en) * | 2009-06-18 | 2012-06-13 | P·A·瑞蒂札维 | Provide customized applications for user terminals |
-
2013
- 2013-05-28 CN CN201310205790.2A patent/CN103310382B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101067816A (en) * | 2006-05-04 | 2007-11-07 | 三星电子株式会社 | Embedded display system and method used by the system |
| CN101652787A (en) * | 2007-03-30 | 2010-02-17 | 微软公司 | In-memory caching of shared customizable multi-tenant data |
| CN101051365A (en) * | 2007-05-11 | 2007-10-10 | 皮喜田 | System and method for individualizing custom-made to wine products |
| CN102498468A (en) * | 2009-06-18 | 2012-06-13 | P·A·瑞蒂札维 | Provide customized applications for user terminals |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103310382A (en) | 2013-09-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8838738B2 (en) | System and method for processing medical information through medical terminal | |
| CN110874324A (en) | A method, device, terminal device and storage medium for saving test result data | |
| CN110555072A (en) | Data access method, device, equipment and medium | |
| CN111339560A (en) | Data isolation method, device and system | |
| CN113778918A (en) | USB device management system and management method | |
| CN111679911B (en) | Management method, device, equipment and medium of GPU card in cloud environment | |
| CN114595987A (en) | Multi-device centralized management method, device, system, electronic device and storage medium | |
| CN110674204A (en) | Management and control system for realizing forced compliance of pharmaceutical production process of medicine enterprises based on informatization | |
| CN103310382B (en) | A kind of method and system for customizing data under mining integrated automation integrating platform | |
| EP2874059A1 (en) | Personal cloud storage chain service system and method | |
| CN109165174A (en) | A kind of hardware information acquisition method, system and electronic equipment and storage medium | |
| JP2008152591A (en) | Information processing apparatus allocation method, information processing system, and management server | |
| CN110955718A (en) | Data visualization configuration method, server, system and medium | |
| CN115640457A (en) | Information management method, apparatus, device, medium, and program product | |
| CN100394729C (en) | Storage server performance comprehensive test system | |
| CN110149371A (en) | Equipment connection method, device and terminal device | |
| CN110245016B (en) | Data processing method, system, device and terminal equipment | |
| CN107294766B (en) | Centralized control method and system | |
| CN107645423A (en) | The display systems and its method of a kind of monitoring data | |
| CN117061563A (en) | Diagnostic data acquisition method, system, electronic device and storage medium | |
| CN102387118B (en) | A kind of data output method and device | |
| CN113764110A (en) | Data processing method and device, electronic equipment and storage medium | |
| CN109756493B (en) | Node management method, electronic device, system and medium | |
| CN103067365A (en) | Set top box, client-side, system and method for virtual desktop access | |
| CN111750964A (en) | Weighing Instruments and Weighing Systems |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Address after: 221116 Research Institute of China University of Mining and Technology,, Jiangsu Applicant after: China University of Mining & Technology Address before: 221008 Research Institute, China University of Mining and Technology, Xuzhou University, Jiangsu, China, Applicant before: China University of Mining & Technology |
|
| COR | Change of bibliographic data | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160921 Termination date: 20170528 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |