CN106407469B - A method of description things time attribute is simultaneously searched based on the description - Google Patents

A method of description things time attribute is simultaneously searched based on the description Download PDF

Info

Publication number
CN106407469B
CN106407469B CN201610927538.6A CN201610927538A CN106407469B CN 106407469 B CN106407469 B CN 106407469B CN 201610927538 A CN201610927538 A CN 201610927538A CN 106407469 B CN106407469 B CN 106407469B
Authority
CN
China
Prior art keywords
time
data
model
attributes
real
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
CN201610927538.6A
Other languages
Chinese (zh)
Other versions
CN106407469A (en
Inventor
林伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Asiacontrol Technology Development Co Ltd
Original Assignee
Beijing Asiacontrol Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Asiacontrol Technology Development Co Ltd filed Critical Beijing Asiacontrol Technology Development Co Ltd
Priority to CN201610927538.6A priority Critical patent/CN106407469B/en
Priority to CN201810894236.2A priority patent/CN109189863A/en
Publication of CN106407469A publication Critical patent/CN106407469A/en
Priority to EP17864325.0A priority patent/EP3531310A4/en
Priority to US16/343,210 priority patent/US11243927B2/en
Priority to PCT/CN2017/100377 priority patent/WO2018076930A1/en
Priority to CN201780020385.XA priority patent/CN108885634B/en
Application granted granted Critical
Publication of CN106407469B publication Critical patent/CN106407469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of methods for describing things time attribute and being searched based on the description, the method be things to be described, is modeled with establish at least be stored with the things to be described, time attribute and the things to be described, space attribute historical data base, real-time data base and plan database, and search by the time attribute of the things to be described, and/or space attribute history run state, the plan operating status and/or real-time running state of the things to be described,.

Description

Method for describing object time attribute and searching based on description
Technical Field
The invention relates to a method for monitoring and managing industrial production, in particular to a method for describing object time attributes and searching based on the description.
Background
Databases are evolving to date through hierarchical, mesh, relational and non-relational databases. Databases have become indispensable systems for data storage and querying. Nowadays, there are also so-called space-time databases, which are also mainly GIS (geographic information system) borrow relational databases for data storage. In the field of industrial production monitoring and management, SCADA monitoring, a real-time database, a relational database and the application of an open source non-relational database exist. The relational database is a database established on the basis of a relational model, and data in the database is processed by means of mathematical concepts and methods such as set algebra and the like. Various entities in the real world and various connections between entities are represented by relational models. The relational model refers to a two-dimensional table model, and thus a relational database is a data organization composed of two-dimensional tables and the links between them. Currently, the mainstream relational databases include Oracle, Microsoft SQL Server, MySQL, and the like.
Oracle is a relational database management system of Oracle corporation. It is a product that is always in the leading position in the field of databases. It can be said that the Oracle database system is a popular relational database management system in the world today. The database system has good portability, convenient use and strong function, and is suitable for various large, medium, small and microcomputer environments. The database system is a high-efficiency and high-reliability database solution suitable for high throughput.
The Data Model (Data Model) is an abstraction of Data features and is a teaching form framework for database management. The database system is a formal framework for providing information representation and operation means. The earliest application of the model is a structural body in C language, and after C + + is introduced, the model itself has computing power. The model can well solve the description of the data objects with the same structure, the data objects can be quickly instantiated through the model, and the object-oriented programming is abstract expression and description of the objects of one type. In the configuration software industry, the application of data models is very wide, and some models have some simple computational logics, which only solve the computation of the internal members of the models and do not realize computation between the models. In the practical application process, not only the calculation inside the model but also the calculation between the models need to be solved.
Chinese patent (publication No. CN103714142A) discloses a data searching method and apparatus. The data searching method of the patent comprises the following steps: the data node receives a data fragment searching instruction sent by a request node, and obtains timestamp information and label information of the data fragment to be searched, which are carried by the data fragment searching instruction; the data node acquires time attribute position information of the data fragment to be searched in a storage table which is pre-established locally according to the timestamp information of the data fragment to be searched; the data node acquires label attribute position information of the data fragment to be searched in the storage table according to the label information of the data fragment to be searched; and the data node searches the data fragment to be searched in the storage table according to the time attribute position information and the label attribute position information. By adopting the technical scheme, the data fragments to be searched can be obtained according to the characteristics of the pre-established storage table and the timestamp information and the label information of the data fragments to be searched respectively, the data fragment searching process is simple and quick, the data searching efficiency is effectively improved, and the system consumption is reduced. However, the patent has a problem that a specific label is required when data is queried or called, and in the case of a large number of data types, it is inconvenient to record and use the specific label.
Databases are evolving to date through hierarchical, mesh, relational and non-relational databases. Databases have become indispensable systems for data storage and querying. Nowadays, there are also so-called space-time databases, which are also mainly GIS (geographic information system) borrow relational databases for data storage. In the field of industrial production monitoring and management, SCADA monitoring, a real-time database, a relational database and the application of an open source non-relational database exist. The relational database is a database established on the basis of a relational model, and data in the database is processed by means of mathematical concepts and methods such as set algebra and the like. Various entities in the real world and various connections between entities are represented by relational models. The relational model refers to a two-dimensional table model, and thus a relational database is a data organization composed of two-dimensional tables and the links between them. Currently, the mainstream relational databases include Oracle, Microsoft SQL Server, MySQL, and the like.
Oracle is a relational database management system of Oracle corporation. It is a product that is always in the leading position in the field of databases. It can be said that the Oracle database system is a popular relational database management system in the world today. The database system has good portability, convenient use and strong function, and is suitable for various large, medium, small and microcomputer environments. The database system is a high-efficiency and high-reliability database solution suitable for high throughput.
Enterprise informatization is that essentially digitalizes the production process, material movement, transaction processing, cash flow, customer interaction and other business processes of an enterprise, generates new information resources through network processing of various information systems, provides people at all levels with insight and observes all information in various dynamic businesses, and makes a decision beneficial to production element combination optimization, so that enterprise resources are reasonably configured, and the enterprise can adapt to the momentarily changeable market economic competition environment to obtain the maximum economic benefit.
Chinese patent (publication No. CN104217279A) discloses a four-dimensional multi-angle evaluation system for enterprise process management. This patent includes three functional modules: the system comprises a four-dimensional process database, a process quality standardization database and a multi-angle process evaluation module, wherein the evaluation process comprises the steps of customizing a process quality standardization system, storing event information of the four-dimensional process database and evaluating the process capability of any multi-angle. The key point of the patent is the four-dimensional process data model construction of enterprise production management events, the method can thoroughly realize the real, objective and multidirectional evaluation of the enterprise production management process, all data for analysis come from actual events in the enterprise production management process, and a more scientific and comprehensive multi-angle process capability evaluation method is adopted. The method is reasonable in design and strong in practicability, and can provide important reference and real basis for enterprise business process optimization and recombination work. However, the problem of this patent is that the configuration of the relational library is required to be realized by the MES platform, some high-level functions of the MES cannot meet the actual production management requirements, and the MES needs high-level language customized development, which is very difficult to change. In addition, the method can not uniformly and effectively store and call all data in the database, can not realize the dotting of each object, and has not fine management and monitoring.
At present, temporal GIS (geographic information system) is receiving more and more attention as an emerging research field of GIS (geographic information system). Temporal GIS (geographic information system) requires the provision of efficient, sophisticated storage, management and analysis mechanisms for temporal and spatial location data for historical backtracking, change monitoring and predictive analysis.
Chinese patent publication No. CN103678712A discloses a disaster information time-space database. The disaster information spatiotemporal database comprises a disaster situation database, a disaster process database and a disaster history database, and a unified coding module hierarchically codes received disaster information data; the attribute data management module and the spatial position data management module import disaster information attribute data and spatial position data to corresponding disaster information databases; disaster information data are transmitted among disaster information databases through a logic change module; the time-space database index module establishes an update index for the disaster information time-space database according to the time sequence; the logic change module and the time-space database index module form the basis of a disaster information time-space database, manage and maintain disaster attributes and change and maintain the time-space logic index, and prepare for warehousing, retrieval and time-space query of statistical data. The patent solves the problems of high data redundancy and low working efficiency when the spatio-temporal data storage, management and history review are realized. However, the patent has problems that: (1) the relational database is SQL or Oracle, can only carry out classified retrieval through coding, and can not carry out retrieval query through directly inputting time or space information (the quick retrieval of the historical database can only be carried out through the time information and can not be carried out through the space information), so that the query and the calling of the database are very inconvenient; (2) the search method is single, and the search can be performed only in a certain time range, but not in a certain space range, for example, all disaster information occurring in the pacific region cannot be searched.
At present, many spatial databases identify spatial information by using storage coordinate information to support the spatial information, and using a self-increment ID (Identity) to provide an index, and the search needs to be implemented by means of a spatial structure algorithm. In order to solve the above problems, the prior art can simplify the field structure of the spatial database and save the occupied storage space by using a simpler spatial index technology.
Chinese patent (publication No. CN102622349B) discloses a method and an apparatus for processing a spatial location information database. The processing method provided by the patent comprises the following steps: acquiring coordinate data of a spatial position; generating a spatial position information code corresponding to the spatial position according to the coordinate data, including: space position information codes implemented in the Chinese range are defined to be divided into five sections of codes, namely country codes-area codes: and a sub-code 1: the subcode 2-additional code, the coding method principle of each section of code is that the codes are numbered from top to bottom and from left to right; and storing the spatial position information code in a spatial position information database, wherein the spatial position information code is used as the index and the position information of the spatial position in the database. The processing method provided by the patent uses the spatial position information code to replace various data information such as database index, position information, permanent ID and the like which are widely used at present, not only can conveniently manage and retrieve tens of millions of spatial position information databases, but also saves the database space. However, the patent has problems that: (1) the accuracy and precision of the spatial description are not high enough, for example, the upper part and the bottom part of a certain device in a factory cannot be accurately and separately described; (2) the query and the call of the space analysis and the coding to the data are inconvenient, for example, the working condition of a factory boiler is checked, the coding corresponding to the boiler needs to be found, and the query cannot be directly carried out; (3) the database is not dynamically updated when the physical location update changes.
A relational database is a shareable, organized collection of relational data stored on a computer. Relational data is data represented by a relational digital model in which data is described in the form of a two-dimensional table. In an application system using a relational database to store information, there are a large number of multidimensional queries, which provide query conditions of various dimensions for a user to input, and at the same time, the user needs to retrieve required information simply, quickly, and intelligently. At present, the optimization methods for database query mainly include the following methods: (1) reasonably utilizing the index: for a data table in a relational database, an independent and ordered storage structure is created according to the queried field, and a directory is created for books similarly, so that space is exchanged for time, and the query performance is improved. (2) Redundancy relationship data: the data structure design in the relational database is required to follow certain specifications to ensure the integrity and consistency of data, reverse normalization is properly adopted, and information in other related tables is stored in a two-dimensional table in a redundant mode to reduce incidence relation during query and improve query performance. (3) And (4) separating and storing mass data: for mass data, the mass data is classified and independently stored according to certain data, for example, telephone number information is respectively stored according to the affiliated areas, so that the service logic complexity is increased, the design difficulty of an application program and the data maintenance difficulty are improved, the query range is narrowed, and the query performance can be improved.
Chinese patent (publication No. CN100483411C) discloses a method and apparatus for retrieving information in a relational database. The patent retrieval method comprises the following steps: constructing a dimensionality reduction strategy tree and placing the dimensionality reduction strategy tree in a database system, wherein the dimensionality reduction strategy tree comprises at least one child node and at least one root node, and each child node at least comprises the node number identification information, inquiry condition combination information and a lower-level child node number; when the database is searched according to the user query condition and the required data is not obtained, sequentially constructing new query conditions according to the dimension reduction strategy tree; and searching the database according to the new query condition until required data is obtained or querying a root node of the dimension reduction strategy tree to return information without the required data. The patent also discloses an information retrieval device in a relational database, comprising: the device comprises a query condition acquisition unit, a query result output unit, a strategy tree storage unit and a query operation unit. By utilizing the retrieval method and the retrieval device provided by the patent, the database retrieval efficiency can be improved. However, the patent has problems that: specific number identification information is needed when data is inquired and called, and in some fields, such as the field of industrial process control, the types and the quantity of equipment and process parameters are large, so that the data is inconvenient to inquire by using the number. This is also a problem that exists in the conventional relational database all the time — each object must retrieve the corresponding data through the unique corresponding identification code, resulting in low retrieval efficiency. Therefore, there is an urgent need to improve the conventional relational database to improve the retrieval efficiency.
At present, the technologies of the commonly used databases, such as Oracle in Oracle, Microsoft SQL, Access, etc., are based on the hardware environment behind the 80 s in the 20 th century, and high resolution displays, scanners, etc. have not been popularized yet. The establishment of the database structure must be limited by the character terminal, and the database structure is described by words. Despite the decades of improvement, the current state of database structure creation has not changed. All database structures must be built through a series of intricate definitions or assignments. The input or output of data must be programmed by a programmer in a programming language. The maintenance of the database requires that the original programmer provide the source code to maintain or upgrade the system. A specific identification must be entered when querying or calling database data. The traditional database establishment mode is used today, but the huge expenditure thereof makes the market urgently need a database system which is convenient, efficient and low in cost. At present, no database can improve the functions of the databases and can be configured to realize the functions.
On the other hand, the existing database-based search method can only search based on the absolute time of a computer, so that when a worker queries data, the time needs to be converted complexly. A commonly used finding method in an industrial production process is the situation of a certain production line in a certain workshop on a certain day. It is therefore necessary for an industrial process to provide a method that enables a search based on a temporal and/or spatial description of the process that is common to its production.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a method for describing the time attribute of an object and searching based on the description, which is used for modeling the object to be described to establish a historical database, a real-time database and a plan database which at least store the time attribute of the object to be described and the space attribute of the object to be described, and searching the historical operating state, the plan operating state and/or the real-time operating state of the object to be described through the time attribute and/or the space attribute of the object to be described.
According to a preferred embodiment, the temporal and/or spatial attributes of the object to be described are custom multi-level structures and the temporal attributes are described based on natural language conforming to the production industry process and/or the daily life specification.
According to a preferred embodiment, the temporal attributes at least comprise a temporal position, a start time and an end time, the spatial attributes at least comprise a geospatial range, a geospatial position and a shape and size profile when the object to be described is a static object, and the spatial attributes at least comprise a geospatial position, a candidate geospatial position and a shape and size profile of a spatial range of the object to be described when the object to be described is a dynamic object.
According to a preferred embodiment, after a search range is determined by the spatial attribute of the object to be described, the historical operating state, the real-time operating state and/or the planned operating state of the object to be described are searched based on the time attribute of the object to be described.
According to a preferred embodiment, the method for modeling things to be described is as follows: the method for modeling the things to be described comprises the following steps: classifying objects to be described into a historical data model, a real-time data model and/or a plan data model according to the time attribute and/or the space attribute, modeling the objects to be described according to the space state of the objects to be described, modeling the objects to be described according to the time state of the objects to be described, setting the specific attribute of the objects to be described, and collecting the data of the objects to be described so as to dynamically monitor and manage the objects to be described.
According to a preferred embodiment, said modeling said object to be described as a function of its spatial state comprises at least the following steps: modeling the space of the object to be described according to the space state of the object to be described so as to establish a space model, and instantiating the space model of the object to be described so as to establish a space object; the modeling of the object to be described according to the time state of the object to be described comprises the following steps: modeling the time of the object to be described according to the time state of the object to be described so as to establish a time model, and instantiating the time model of the object to be described so as to establish a time object.
According to a preferred embodiment, the space model of the object to be described and the time model of the object to be described are associated to establish a historical data model, a real-time data model and a planning data model, the historical data model is instantiated into a historical data object, and the historical data object is configured with computer space attributes to be a historical database for storing historical data of the object to be described; instantiating the real-time data model into a real-time data object, and configuring the real-time data object with computer space attributes to form a real-time database for storing real-time data of the object to be described; and instantiating the plan data model into a plan data object, and configuring the plan data object with computer space attributes to form a plan database for storing plan data of the object to be described.
According to a preferred embodiment, the specific attributes of the object to be described comprise at least a temporal attribute of the object to be described and a spatial attribute of the object to be described, and one or more of a graphic attribute, an audio attribute, a video attribute and a name attribute of the object to be described.
According to a preferred embodiment, the data of the object to be described is acquired by: the method comprises the steps of directly collecting historical data of an object to be described from the scene of the object to be described or collecting historical data of the object to be described through calculation, collecting real-time data of the object to be described through a sensor or collecting real-time data of the object to be described through calculation, importing planning requirements from a third-party system interface and generating planning data through calculation.
The invention also provides a system for describing the time attribute of an object and searching based on the description, which at least comprises a data acquisition module, a data modeling module, a data storage module and an inquiry module, wherein the system is used for modeling the object to be described to establish a historical database, a real-time database and a plan database which at least store the time attribute of the object to be described and the space attribute of the object to be described, and searching the historical operating state, the plan operating state and/or the real-time operating state of the object to be described through the time attribute and/or the space attribute of the object to be described, wherein the data acquisition module is used for manually or automatically acquiring the data of the object to be described and sending the acquired data to the data modeling module, and the data modeling module comprises a module used for constructing the time attribute and/or the space attribute of the object to be described according to the time attribute and/or the space attribute of the object to be described The data storage module comprises a historical data storage unit for storing historical states of objects to be described, a real-time data storage unit for storing real-time states of the objects to be described and a plan data storage unit for storing plan states of the objects to be described, and the query module is connected with the data storage module and used for searching historical operating states, plan operating states and/or real-time operating states of the objects to be described.
The method and the system for describing the time attribute of the object and searching based on the description provided by the invention have at least the following advantages:
according to the invention, the query is carried out through the time attribute customized based on the actual situation of the production industrial process or the daily life standard, the query mode is the most familiar mode of the user, time conversion is not needed, the use is natural and convenient, and the searching efficiency can be improved; on the other hand, the invention describes the data information of production monitoring management through three time dimensions, solves the problems of various system applications through one library and can reduce the investment of users and the maintenance cost of the system.
Drawings
FIG. 1 is a schematic diagram of a custom spatial model of a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of a custom time model of a preferred embodiment of the present invention;
FIG. 3 is a schematic diagram of a system time model of a preferred embodiment of the present invention; and
FIG. 4 is a diagram of the spatio-temporal transformation relationships between data models in accordance with a preferred embodiment of the present invention.
Detailed Description
The following detailed description is made with reference to the accompanying drawings and examples.
The terms referred to in the present invention are explained as follows.
And (3) data model: a data model is data that describes the use in a system. The data model is divided into a real-time data model, a historical data model and a plan data model according to the time state. And is divided into data, alarm and event according to the function. There is a greater variety of data for the combination of tenses and functions. Preferably, the data model may have different versions. In a system, the same model may exist in multiple versions. An instantiation of a model corresponds to a certain version of the model. When the model generates a new version, the generated instance is not influenced. A version of the model that is modified affects the instances that the version model generates.
The data model includes two parts, attribute and member. The attributes of different data models, such as real-time data, may differ by having a freshness attribute. The event data has attributes of a start time, an end time, a duration, and the like. The members are components forming data, and the user can define different members to describe the data in the service according to needs. Preferably, the number of members is limited to a maximum of 256 members. Preferably, for attribute names, member names are not allowed to exceed 64 characters.
Data type: the data types supported by the system refer to the data types available when defining the member. For the Blob type and the string type, a maximum length needs to be specified. Preferably, the maximum length of the Blob type and the string type does not exceed 1K. Preferably, the graph type also belongs to a data type, and can also be used as a member of the object. The coordinates of the graphic type are pixel coordinates.
The time model is a data model used for describing the time state of the object to be managed, and the time granularity of the time model is a unit for measuring the time state and comprises a time unit and a time parameter customized based on the production condition.
The space model is a data model used for describing the space state of an object to be managed, and the space granularity of the space model is a space parameter for measuring space hierarchy and space position, and comprises a space unit and a self-defined space parameter based on production condition.
The invention provides a method for describing time attributes of objects and searching based on the description. And after determining a search range through the spatial attributes of the object to be described, searching the historical operating state, the real-time operating state and/or the planned operating state of the object to be described based on the time attributes of the object to be described.
According to a preferred embodiment, the temporal and/or spatial attributes of the object to be described are custom multi-level structures. The time attribute is described based on natural language conforming to a production industry process and/or a daily life specification. For example, orders, work orders, shifts, and products are defined as temporal attributes of the things to be described. And defining a workshop, a production line and equipment as the spatial attributes of the object to be described. When a user searches, firstly, the search range is determined through the spatial attributes of the objects to be described, then, the searching is carried out in the mode of order number, work order number, class number and/or product number, time does not need to be converted complexly, the user can use the method conveniently and naturally, and the search efficiency can be greatly improved.
How the time attribute is described is explained below with a specific example. In the heating season, the financial year, the racing season and the like which are commonly used in daily life, the corresponding standard time is often cross-year and/or cross-month, and if the standard time is used, the search of information is not facilitated. For example: the factory usually uses natural language such as morning shift, middle shift and evening shift to describe 2016 year 10, month 21. Wherein, the morning shift corresponds to 2016 years, 10 months, 21 days, 08: 00-16: 00. The morning shift corresponds to 2016 years, 10 months, 21 days, 16: 00-24: 00. The night shift corresponds to 2016 years, 10 months, 21 days, 0: 00-08: 00. If the time of 2016, 10, 21, 08: 00-16: 00 is used for description in an industrial field, the method is not only complicated, but also does not accord with the customary terms of factory production. When searching for information, if the standard time is used, searching for information is not facilitated. As another example, when a heating season of 2016 is described in daily life, the standard time corresponds to 2016 for 10 months to 2017 for 3 months. If the standard time is used for searching, the use is very inconvenient because the standard time is year-across. The method for describing the time attribute of the object and searching based on the description directly describes the time attribute of the object to be described as the natural language which accords with the daily life habits or the industrial production process, such as heating seasons, financial years, season racing seasons and the like.
The invention also provides a system for describing the time attribute of the object and searching based on the description, which at least comprises a data acquisition module, a data modeling module, a data storage module and a query module. The system builds a historical database, a real-time database and a plan database which at least store the time attribute and the space attribute of the object to be described by modeling the object to be described, and searches the historical operation state, the plan operation state and/or the real-time operation state of the object to be described through the time attribute and/or the space attribute of the object to be described.
According to a preferred embodiment, the data acquisition module is used for manually or automatically acquiring the data of the object to be described and sending the acquired data to the data modeling module. Preferably, the acquisition module comprises at least one image acquisition device, at least one sound acquisition device and/or at least one data import device.
According to a preferred embodiment, the data modeling module comprises a data modeling unit for building a temporal model and/or a spatial model according to the temporal attributes and/or the spatial attributes of the thing to be described and a data model storage unit for storing the temporal model and/or the spatial model. Preferably, the data modeling module is a computing engine, an application specific integrated circuit or a single chip microcomputer.
According to a preferred embodiment, the data storage module comprises a historical data storage unit for storing historical states of the things to be described, a real-time data storage unit for storing real-time states of the things to be described and a plan data storage unit for storing plan states of the things to be described. Preferably, the data storage module is an application specific integrated circuit or a single chip microcomputer.
According to a preferred embodiment, the query module is connected to the data storage module and is used for searching the historical operating state, the planned operating state and/or the real-time operating state of the object to be described. Preferably, the interaction module comprises at least a display device, a mouse and/or a keyboard.
Example 1
The invention relates to a method for describing object time attributes and searching based on the description, which comprises the following steps:
s1: and classifying the object to be described into a historical data model, a real-time data model and/or a planning data model according to the time attribute and/or the space attribute.
S2: and modeling the object to be described according to the space state of the object to be described.
S3: and modeling the object to be described according to the time state of the object to be described.
S4: setting specific attributes of the object to be described.
S5: and collecting data of the object to be described to dynamically monitor and manage the object to be described.
The steps of a method of describing a time-of-transaction attribute and performing a lookup based on the description of the present invention are described in detail below.
S1: and classifying the object to be described into a historical data model, a real-time data model and/or a planning data model according to the time attribute and/or the space attribute.
According to a preferred embodiment, after the object to be described is classified into the historical data model, the real-time data model and/or the planning data model according to the time attribute and/or the space attribute, the historical data model, the real-time data model and/or the planning data model are built by building the time model and the space model and associating the time model and the space model.
S2: and modeling the object to be described according to the space state of the object to be described.
According to a preferred embodiment, modeling the object to be described according to its spatial state comprises the following steps: (1) modeling the space of the object to be described according to the space state of the object to be described so as to establish a space model. (2) A spatial model of the thing to be described is instantiated to create a spatial object. Preferably, the spatial state is a geospatial state of the thing to be described. Preferably, the method for modeling the space of the object to be described according to the space state of the object to be described so as to establish the space model is to determine a multi-level space model according to the space state of the object to be described. Preferably, the method for instantiating the spatial model of the object to be described to establish the spatial object is as follows:
s201: and loading the map and/or the CAD drawing of the object to be described as the base map through the space object editor. Preferably, a google map, a Baidu map and/or a CAD drawing of the object to be described is loaded as a base drawing through the spatial object editor.
S202: and drawing a space object in the base map as a first-level space object. Preferably, a corresponding coordinate system is selected and set in the map configuration, a spatial range of the Root node is drawn based on the geographical position of the factory, and a spatial object is drawn by using a rectangle, an irregular polygon line, a point and/or a broken line in the spatial range of the Root node to obtain the first-level spatial object.
S203: and drawing a space object in the first-level space object as a second-level space object. Preferably, one spatial object is drawn with rectangles, irregular polylines, points and/or polylines within the first level spatial object to obtain the second level spatial object.
S204: in the same manner, a spatial object is rendered within the (n-1) th level spatial object as the nth level spatial object. Preferably, a spatial object is rendered within the (n-1) th level spatial object with rectangles, irregular polylines, points and/or polylines to obtain the nth level spatial object.
Preferably, the first-level spatial object, the (n-1) th-level spatial object and the nth-level spatial object all refer to spatial objects. Since space is an inherent property of data, each data represents a data object under a specific space object.
S3: and modeling the object to be described according to the time state of the object to be described.
According to a preferred embodiment, modeling the object to be described as a function of its temporal state comprises the following steps: (1) and modeling the time of the object to be described according to the time state of the object to be described so as to establish a time model. (2) A temporal model of the thing to be described is instantiated to create a temporal object. Preferably, the method for modeling the time of the object to be described according to the time state of the object to be described so as to establish the time model determines a multi-level time model according to the time state of the object to be described.
According to a preferred embodiment, a spatial model of the object to be described and a temporal model of the object to be described are correlated to build a historical data model, a real-time data model and a planning data model. The historical data model is instantiated as a historical data object. The historical data object associates a spatial object resulting from instantiation of the historical data model associated spatial model with a temporal object resulting from instantiation of the historical data model associated temporal model. The real-time data model is instantiated as a real-time data object. The real-time data object associates a spatial object resulting from instantiation of the real-time data model associated spatial model with a temporal object resulting from instantiation of the real-time data model associated temporal model. The planning data model is instantiated as a planning data object. The planning data object associates a spatial object resulting from instantiation of the planning data model-associated spatial model with a temporal object resulting from instantiation of the planning data model-associated temporal model.
According to a preferred embodiment, the historical data objects in the historical data model are configured into a historical database after being configured with corresponding computer space attributes. Configuring the real-time data object in the real-time data model with corresponding computer space attribute to form a real-time database. And configuring the planning data objects in the planning data model with corresponding computer space attributes to form a planning database. And the historical database stores historical data of the object to be described according to the configured conditions. And the real-time database stores the real-time data of the object to be described according to the configured conditions. The planning database stores planning data of the things to be described according to the configured conditions.
According to a preferred embodiment, the system is internally divided into three databases, namely a historical database, a real-time database and a plan database. These three databases are not user configurable. When the user uses the system, only the historical server, the real-time server and the plan server need to be specified through the configuration interface. When the system is operated, each server client automatically sends data to the corresponding server. For example, the real-time data client transmits the real-time data generated by the system to the real-time server, and the real-time server automatically creates a table in the database and stores the related data into the corresponding table. As are historical data clients and planning data clients. The storage mechanism of the present invention is not limited thereto, and other storage mechanisms are also included.
According to a preferred embodiment, there is a large difference between the storage of historical data, real-time data and planning data. The real-time data is real-time, and represents the data of the current time, and has the characteristic of freshness, that is, the refresh period of the data conforms to the time granularity. For example, if the freshness of an object is 5 seconds, its refresh period should also be 5 seconds, and if it is not refreshed within 5 seconds, the object is not fresh. Real-time data requires high real-time performance, millions of recorded real-time data can be refreshed every second, and the data which is not refreshed in time has a fresh period limit. Real-time data beyond the freshness period is converted into historical data. Historical data tenses are historical, representing data of past time. Most of the historical data of the industrial process is time sequence data and can be compressed. The business data in the historical data can also be stored in an uncompressed mode. The projected data tense is future, representing data at a future time. The planning data is calculated according to historical data and real-time data.
S4: setting specific attributes of the object to be described.
According to a preferred embodiment, the specific attributes of the object to be described comprise at least a temporal attribute of the object to be described and a spatial attribute of the object to be described. Preferably, the time attributes include at least a time position, a start time and an end time. When the object to be described is a static object, the spatial attributes at least comprise a geospatial range, a geospatial position and a shape dimension profile. When the object to be described is a dynamic object, the spatial attributes at least comprise the geographic spatial position, the candidate geographic spatial position and the shape and size outline of the spatial range of the object to be described. The three databases at least comprise the time attribute and the space attribute of the object to be described, and the object in the model can be searched according to time and space during data query, so that the method is convenient and quick.
According to a preferred embodiment, the object to be described can be customized to other attributes of the data in addition to temporal and spatial attributes. Preferably, the other specific attributes of the object to be described include one or more of a graphic attribute, an audio attribute, a video attribute and a name attribute of the object to be described. Preferably, other specific attributes of the thing to be described also include conventional data types, spatial geometry types, binary and enumerated attributes, and the like. Through the 'nodulation' of objects to be described, the object management of various unstructured data can be realized, and therefore unified storage and query calling are realized. Preferably, the video file is used for playing, the video file is transmitted to the display device as a member of the graphic object, the display device establishes a playing area according to the outline of the graphic object, and the playing of the video can be controlled through a script function. The audio file is used for playing and provides a sound playing function. For picture types as members of a graphical object, the display device will draw the picture onto the screen when the graphical object is transferred to the display device. For the resource object of the file type, the resource object can be used for transmitting and storing the file, such as saving the process file and issuing the operation specification. The graph type also belongs to the data type and can be used as a member of the object. The coordinates of the graphic type are pixel coordinates. Geometric types are shapes that describe geospatial objects that require configuration in terms of their properties.
According to a preferred embodiment, the temporal attribute and the spatial attribute are intrinsic attributes of the thing, and for data in the real-time database, a freshness period of the data is described, and a state of the data exceeding the freshness period is invalid. The time granularity of each data in the database is fixed and can be seconds, minutes or hours. Preferably, the time attributes include at least a time position, a start time and an end time. The temporal location is a location relative to the parent spatial model. The spatial attributes of each datum in the database include geospatial range, geospatial location, shape size outline, candidate geospatial location, computer space, candidate computer space attributes, and the like. Preferably, when the object to be described is a static object, for example, a shape and size of the device, the spatial attributes include at least a geospatial range, a geospatial location, and a shape and size profile. The shape size profile is based on the size of the upper level spatial object in spatial domain. That is, the upper level space contains subspaces, which determine the coordinate locations and sizes of the subspaces, with the coordinates of the children relative to the parent. When the object to be described is a dynamic object, such as a production line, the spatial attributes include at least a geospatial location, a candidate geospatial location, and a shape dimension profile of a spatial extent of the object to be described.
S5: and collecting data of the object to be described to dynamically monitor and manage the object to be described.
According to a preferred embodiment, the data of the object to be described is collected by: and directly collecting historical data of the object to be described from the scene of the object to be described. Or, historical data of the object to be described is collected through calculation. And acquiring real-time data of the object to be described through a sensor. Or, real-time data of the object to be described is collected through calculation. By importing the plan requirements from the third-party system interface, the plan requirements are identified by the system and then calculation and generation of plan data are carried out through editing and calling algorithms of the interface.
The invention relates to a method for describing object time attributes and searching based on the description. The space-time is a very natural language, a user does not need to learn complex grammar rules, and each production manager only needs to know what time and place to look up the state of an object to be described, so that the method has the advantages of convenience and quickness.
Example 2
This embodiment is a further improvement on the basis of embodiment 1, and only the improved part will be described.
According to a preferred embodiment, the data stored in the historical database, the real-time database and the planning database must have temporal attributes. Time is an attribute that is not divisible of what is to be described. Without time, the object may not exist. Time is a description of the temporal location of the thing to be described. Preferably, the time attribute of the object to be described refers to the time position of the object to be described. The temporal position of the object to be described comprises at least the temporal granularity and temporal precision of the object to be described. For example, a production lot is one particle size. The information of the first batch of a certain workshop is very convenient for users to use. A certain period of time is not written to obtain possible batch information.
According to a preferred embodiment, the temporal model and the spatial model are established by:
time model: the time model is a data model used for describing the time state of the object to be described. The time granularity of the time model is a unit for measuring the time state, and comprises a time unit and a time parameter customized based on the production condition. Preferably, the temporal model is a model describing the temporal granularity of the object to be described. For example, the time granularity is year, month, day, hour, minute, or second, etc. The time granularity can be customized, such as class or batch, and the like.
And (3) space model: the space model is a data model used for describing the space state of the things to be described. The spatial granularity of the spatial model is a spatial parameter for measuring spatial hierarchy and spatial position, and comprises a spatial unit and a self-defined spatial parameter based on production conditions. Preferably, the spatial model is a model describing the spatial granularity of the object to be described. For example, the spatial granularity is a head office, branch office, plant, production line, process, station, or equipment, etc.
Modeling data: each thing described is instantiated by a model. For example, the product is one item. The processing of the product is a matter. The product is also a thing to be delivered out of the warehouse. The number of products processed at a certain station (staff performance) is also a matter. The method of the present invention to describe temporal attributes of things and look up based on the description will data model these things, the data model will specify a temporal model and a spatial model. For example, in a performance model of workstation processing, the spatial attribute is the workstation and the temporal attribute is the shift. Other attributes of the data may be work order number, number of processes, number of alarms, number of reworks, etc. The data of the data models are completed through calculation models, production data changes are calculated and detected, and performance data are counted and output to the performance models at regular time.
Modeling a factory: plant modeling is plant instantiation from previous models. For example, the actual plant name, production line name, equipment name, process name, which is a space instantiation. The affiliation of each object is also determined during instantiation. There are several shifts of a day, how long each shift, which is a time instantiation. The actual production line has several process performance data, which is an instantiation of a performance data model. There is of course also instantiation of the calculations as these performance data are to be calculated.
The system operates: after the system runs, the background of the system automatically detects production information, records the production condition of each process and counts the production performance of each station in real time. Thus, the production conditions of a factory are recorded in real time in the time-space database. And inquiring real-time and historical production data information in the scene model when the user needs to check.
Planning: the planning generally makes a total plan such as a whole plant annual plan, and then is resolved into a whole plant month, a whole plant day, a whole plant class, a workshop month, a workshop day and a workshop class. The user can break down to a very fine granularity whenever desired, and then monitor for execution or not as planned for each execution of a spatiotemporal granularity.
According to a preferred embodiment, the temporal and spatial attributes are independent. The time objects are described with granularity and precision, for example, the granularity of a year is a year, and the precision can be seconds or milliseconds. The time object has a time position on the data record, a start time and an end time of the time position. For example, 2016 is the time location. Month 3 of 2016 is also the time position, and the typical start time for the time position of month 3 of 2016 is 0 at month 3 of 2016: 00: 00.000, end time 2016, 3, 31, 23: 59: 59.999. preferably, the time location can also be customized. For example, 2016 is from a custom year of wealth (parent time model) -month of wealth (child time model), and the start time and end time are user-defined, such as 2016 from 2 days 3 to 15 days 3, and this time period is indicated when the user uses 2016.
According to a preferred embodiment, each model has unique time granularity and spatial granularity, and a production line (space) shift (time) plan is described by taking a plan data as an example, the production line model and the shift model are space models and time models for realizing definition, and the model is determined to assume that the production line model has 3 production line objects in the engineering stage and the shift model has three shifts, namely, A, B and C. The data model can only instantiate 3 production lines and 3 teams for 9 plan data objects, and cannot instantiate plans of other spatio-temporal granularity. The time granularity and the space granularity of the model can not be modified after being determined, and only the attribute is modified or the member is changed can a new version be generated.
Example 3
This embodiment is a further modification of embodiment 1 and embodiment 2, and only the modified portions will be described.
According to a preferred embodiment, the data stored in the historical database, the real-time database and the planning database must also have spatial attributes. The space is an inseparable attribute of the object to be described, and the object cannot exist without the space. For a project, if the spatio-temporal system changes, it means the reconstruction of the project. The spatial model is a hierarchical relation, and the main characteristic of the spatial model is that the range of a sub model cannot exceed that of a parent model. A parent model may have multiple sub-models, and a sub-model may have only one parent model. Space is a description of the spatial location of an object to be described. Preferably, the spatial attribute of the object to be described refers to the spatial position of the object to be described. The spatial position of the object to be described at least comprises the spatial range, the spatial granularity, the spatial precision and the like of the object to be described. If the time position, the space position, the time length and the space length of the objects to be described are all the same, the objects to be described are necessarily the same object. Preferably, the spatial attribute of the present invention may also be the management scope of the thing to be described. For example, a group is composed of several branch companies, and these branch companies are composed of several factories. Each plant has a physical spatial location, the affiliates have company buildings, and the spatial extent of the affiliates is the outside outline of the plant and the buildings. The spatial extent of a clique is the outer outline of a plurality of branches.
The space instantiation process of the present invention is described in detail below by taking an enterprise in the heat supply network industry as an example.
The space instantiation process first determines the space model. For example, for an enterprise in the heat supply network industry, the determined space models are a general company model, a branch company model, a management department model, a heat exchange station model and an equipment model. The head office model contains at least one branch office model. The affiliate model includes at least one management department model. The management site model comprises at least one heat exchange station model. The heat exchange station model comprises at least one equipment model. Therefore, the relationship between the parent model and the sub-model is between the main company model and the branch company model, between the branch company model and the management model, between the management model and the heat exchange station model and between the heat exchange station model and the equipment model. Preferably, the parent model determines the boundaries of the child models. Namely: the division model must be within the scope of the head office model. The management department model must be within the scope of the branch company model. The heat exchange station model is within the scope of the management model. The equipment model must be within the range of the heat exchange station model. In addition, the parent model will define the accuracy of the child model. For example: the heat exchange station model is a father model of the equipment model, the accuracy of the heat exchange station is meter, and the length and the width of the equipment are expressed by taking meter as a unit. And loading the Google map or the Baidu map through a space object editor, and selecting and setting a corresponding coordinate system in map configuration. Preferably, the google map selects the google map coordinate system, and the Baidu map selects the Baidu map coordinate system. The method comprises the steps of drawing a spatial range of Root nodes according to the geographical position of a company, drawing a rectangle after amplifying a certain proportion on a map, wherein the rectangle is the range of the Root nodes, and the system can store the geographical information of the Root nodes and is a series of spatial point sets. After the spatial range of the Root is determined, a spatial object is drawn by using a rectangle/irregular polygon line/point/broken line in the Root range, and the spatial object is a first-level spatial model, namely a head office model. After the general company model is drawn, the graph of the general company model is enlarged, and a space object is drawn in the general company model by using a rectangle/irregular polyline/point/polyline, wherein the space object is a second-level space model, namely a branch company model. And drawing a management place model, a heat exchange station model and an equipment model according to the same method.
According to a preferred embodiment, an enterprise generally has a CAD drawing inside the company, the CAD drawing of the company is imported into the spatial object editor, and the company boundary represented by the CAD drawing is overlapped with the drawn company boundary. And drawing the objects again according to the company objects displayed on the CAD drawing, wherein each object corresponds to a space model. Thus, the spatial object of the company is instantiated. A plurality of graphs are arranged in the CAD drawing, and only the needed space object needs to be drawn when the space is instantiated.
Example 4
The present embodiment describes the description object time attribute of the present invention in detail by using a specific example and performs the search method based on the description.
When monitoring and managing industrial production, a production order of a workshop is decomposed into a plurality of production line work orders, each production line work order is then put on products produced by the production line equipment, and time and space are modeled.
As shown in FIG. 1, the custom space model includes a shop model, a production line model, an equipment model, and a Tag model. The workshop model is a parent model of the production line model. The production line model is the parent model of the equipment model. The device model is the parent model of the Tag model. As shown in FIG. 2, the custom time model includes an order model, a work order model, and a product model. The order model is a parent model of the work order model. The work order model is a parent model of the product model. As shown in FIG. 3, the time model of the system itself includes year, month, day, hour, minute, second, and millisecond. Likewise, the year is the parent model of the month. The month is the parent of the day. The parent model of time of day. Time is the parent model of the score. A second parent. Second is the parent in milliseconds.
According to a preferred embodiment, the time model is characterized by a start time and an end time. The reason why the order, the work order and the product are divided into the time models in this embodiment is that when planning, the order has order planning start time and planning completion time, the work order also has work order planning start time and planning completion time, and the product also has product planning start time and planning completion time. Preferably, each order, work order, and product has a unique name. That is, the order number is unique, the work order number of a certain order is also unique, and the product under a certain work order is also unique.
According to a preferred embodiment, an order is placed on a shop floor and broken down into a number of work orders, each work order corresponding to a production lot, which produces a number of products in a batch. When modeling time and space, order plans are decomposed into different plan data models in terms of space-time according to the space-time granularity in table 1 below. Preferably, the user can customize the members of interest for each planning data model. Preferably, the planning data is entered into the system by import or manually by the user. After the plan data is imported or recorded, the system decomposes the plan data step by step and finally decomposes the plan data into equipment products.
Table 1 below lists the temporal and spatial granularity for each data model.
TABLE 1
In fig. 4, table 1 shows the time granularity and the space granularity corresponding to the real-time data model 1 to the real-time data model 4, the historical data model 1 and the historical data model 2, and the planning data model 1 to the planning data model 3, respectively.
As shown in fig. 4, the planning data model 3 (time granularity is order and space granularity is workshop) is processed by the planning decomposition calculation model 1 to obtain a data object corresponding to the planning data model 2 (time granularity is work order and space granularity is production line). Similarly, the planning data model 2 is processed by the planning decomposition calculation model 2 to obtain data objects corresponding to the planning data model 1 (time granularity is product, and space granularity is equipment).
In the embodiment, the data of the object to be described is collected to the time-space database through the data collection server IOServer. In the data collection server IOServer, data exists in the form of Tag variables. And converting the Tag variable into a Tag object which can be identified by a time-space database through a collecting calculation model. Thus, the data object corresponding to the real-time data model 1 (time granularity is second, and space granularity is Tag) can be obtained. The Tag object has, for example, an online status, an offline status, a current product, a current parameter, and the like under each device. The state and parameters of each device are collected to a time-space database through a Tag object, and the production event of the product on the device is calculated in real time through a real-time event calculation model, so that the data object corresponding to the real-time data model 2 (the time granularity is the product, and the space granularity is the device) is dynamically generated. Preferably, each product has information about the work order, and if a work order has a product that is only partially offline in a certain production line, the real-time status of the production line work order is recorded. If all the work order products are off-line, the work order of a certain production line completes the production history data. And the real-time completion condition of the workshop order can be calculated by analogy. The user can continue to calculate historical completion if desired. Specifically, if the product is offline on the equipment, the event storage calculation model 1 generates historical data of the product on the equipment based on the planning data input by the planning data model 1 and through Tag state change calculation, and thus, a data object corresponding to the historical data model 1 (time granularity is product, space granularity is equipment) is dynamically generated. The real-time statistical calculation model 1 generates real-time data of a work order on the production line through calculation of product state change based on the planning data input by the planning data model 2, and thus, data objects corresponding to the real-time data model 3 (time granularity is the work order, and space granularity is the production line) are dynamically generated. If the work order is on-line and off-line in the production line, the event storage calculation model 2 generates historical data of the work order on the production line through the state change calculation of the work order, and thus data objects corresponding to the historical data model 2 (time granularity is the work order, and space granularity is the production line) are dynamically generated. The real-time statistical calculation model 2 generates real-time data of an order on a workshop through work order state change calculation, and thus, a data object corresponding to the real-time data model 4 (the time granularity is the order, and the space granularity is the workshop) is dynamically generated.
How to set the attributes of the model in the model is explained in detail below.
According to a preferred embodiment, the attributes of the order model are set by: and selecting a month model from the time models as a parent model of the order model. Meanwhile, the name is set as an order, the time is described, the father model is a month, and the time unit precision is hour. The attributes of the work order model are set as follows: an order model is selected from the time models as a parent model of the work order model. Meanwhile, the name is set as a work order, the time is described, the father model is an order, and the time unit precision is time. The attributes of the product model are set as follows: and selecting the worksheet model from the time models as a parent model of the product model. Meanwhile, the name is set as a product, the time is described, the father model is a work order, and the time unit precision is time.
According to a preferred embodiment, the attributes of the plant model are set in a geospatial model. The method is characterized in that a name is set as a workshop, the workshop is described, a father model is Root, a mode is static, a coordinate dimension is two-dimensional, and the precision of a coordinate unit is meter. Attributes of the production line model are set in the geospatial model. The name is set as a production line, the production line is described, the father model is a workshop model, the model is static, the coordinate dimension is two-dimensional, and the coordinate unit precision is meter. The attributes of the device model are set in the geospatial model. The name is set as equipment, the equipment is described, the father model is a production line model, the mode is static, the coordinate dimension is two-dimensional, and the coordinate unit precision is meter.
According to a preferred embodiment, the attributes of the planning data model are set by: setting a name as a plan data model 3, selecting a time model as an order model, selecting a geographic space model as a workshop model, selecting a geographic space dynamic model as a static state, a range geographic space model as a workshop, a shape geographic space model as a workshop, a position geographic space model as a workshop, a computer space model as a plan library space, and collecting a candidate computer space model as a plan library space. Preferably, the planning data must be present in the planning library space. For static objects, the range, location, and shape are the plant itself. In addition, the user may customize the membership information of the planning data model 3. I.e., the members that set the planning data model 3 include the customer name, product quantity, order status, delivery date, contact phone, etc. Preferably, the member types in the planning data model may also be resources. Resources are generally imported from the outside world or collected by the underlying device and stored on members of the data, such as audio, video, pictures, etc. Since the invention can define the members to be in the form of audio, video or pictures, the invention realizes the 'dotting' of the unstructured data, namely, the management of the unstructured members of the data is realized through one member value. The attributes and the member information of the plan data model 2 and the plan data model 1 are set in the same manner.
According to a preferred embodiment, the attributes and membership information of the real-time data model are set in the same manner as the planning data model. Preferably, the attributes and members of the real-time data model and the planning data model are similar, but of different types. Preferably, the data objects of the real-time data model also have attributes specific to the real-time data, such as freshness.
According to a preferred embodiment, the attributes and membership information of the historical data model are set in the same manner as the planning data model. Preferably, the attributes and members of the historical data model and the planning data model are similar, but of different types.
According to a preferred embodiment, new versions of the historical data model, the real-time data model, and the planning data model are generated when members of the historical data model, the real-time data model, and the planning data model are modified.
According to a preferred embodiment, the method of describing the temporal attributes of things and performing a lookup based on the description includes a modeling phase and an engineering phase. The modeling phase has already been described above. Because the time objects are dynamically created on the data according to the event detection, only the space objects and the data objects need to be instantiated in the engineering phase, namely the instantiation phase. The following describes in detail how the space object is instantiated during the engineering phase.
According to a preferred embodiment, in the instantiation phase, the spatial object is instantiated according to the geospatial of the actual object. The general workshop and factory can specify the approximate position on the map, and the layout inside the workshop is drawn mainly by using a CAD (computer-aided design) drawing after the map is enlarged.
Specifically, instantiating the spatial object includes the steps of: (1) and loading a map file by default, designating a Root path range, and creating a position where the workshop is located under the Root path. (2) After the map is enlarged, a specific plant floor cannot be displayed, and it is necessary to mark an approximate position on the map, import a floor map CAD file, and draw position information of a space object in accordance with a floor layout. The relative layout of the depicted geographic information and the wireframe of the CAD coincide one-to-one. (3) And displaying an object list in the space object list, and seeing object attribute information in an attribute column, wherein the object attribute information comprises an object name, a position, a size, a space model corresponding to the space object, a parent space of the space object and the like. (4) Finally, a corresponding spatial object is created in the geospatial list.
According to a preferred embodiment, the corresponding data objects are instantiated based on the above spatial objects.
So far, the object description is basically completed, and the rest is that in the operation stage, the automatic data acquisition and the automatic data operation function are completed through data calculation.
Example 5
The user needs to realize the monitoring of the information of the first boiler of the first factory. The first boiler is the item to be described. Firstly, a relevant data model of a first boiler is established, and a matched time and space model is established to locate or monitor relevant data information of the boiler. And associating the related data information with the time model and the space model to establish a data model. The time model and the space model are instantiated into a space object and a time object respectively by establishing a space-time system and a data model, and the data model is instantiated into a data object. The data object needs to select a certain space object of the space model associated with the data model, and also select a certain time object of the time model associated with the data model for association. For example, the space associated with the first boiler real-time data model is a boiler space model and the associated time is a time model of the shift. The first boiler space model instantiates three space objects, boiler 1, boiler 2, and boiler 3. Boiler 1, boiler 2, boiler 3 are the self-defined space object names by means of natural language. The shift time model instantiates three time objects of early shift, middle shift and late shift. The morning shift, the middle shift and the evening shift are time object names defined by natural language. The boiler real-time data model instantiates a boiler real-time data object 1. The associated space object of the boiler real-time data object 1 is the boiler 1, the associated time objects are the early shift, the middle shift and the late shift, and the time model is a shift model corresponding to the default. Because the boiler 1 is a real-time object, only real-time database space can be selected when the computer stores the configuration. And modeling and associating processes of the historical database and the plan database are realized in the same way.
The time model is established in the modeling process, for example, the class model is established immediately to complete the definition of the time period of each class, for example, the morning class time is set to six am to three pm. The establishment of the spatial model, such as the establishment of the plant model and the boiler model, is the description of the spatial shape, the spatial range and the spatial position of the plant model and the boiler model. While defining the plant model as the parent model of the boiler model. And establishing a data model, wherein the data model comprises a real-time data model, a historical data model and a planning data model. When the data model is established, the model category needs to be set first. After running, the storage location of the data object is determined by the model type: a real-time database, a historical database, a planning database. Similarly, the query is also based on the type of the data model to determine which database in the space-time database to search for data. After the system is operated, the real-time data object stores the acquired value into the real-time database, so that information including time information of 2016, 10, 21 and 21 early shifts, for example, is recorded when data are actually generated. The early shift information comprises the spatial shape, the spatial range and the spatial position information of a boiler model corresponding to the boiler 1 as spatial information, model type information of a boiler corresponding to the data model, and other attribute information of the boiler. Such as status information of the boiler 1, e.g. colour, temperature, pressure in the chamber, etc.
Meanwhile, the user can realize the state retrieval of a certain boiler at a certain moment based on the time information, the space information and the model category information.
Real-time data of the data object is retrieved. The system determines a real-time database from the real-time data model of the data object. After determining the database, at least one version of the boiler model in the real-time database associated with the data object is selected according to the time and/or the boiler name input by the user. After determining the version of the boiler model, one or more of the boiler model instantiated space objects boiler 1, boiler 2, boiler 3 are selected. Opening the data object of the boiler 1 allows to view the real-time data of the boiler 1, thereby knowing the real-time operation status of the boiler 1.
The method of checking the historical operating state and the planned operating state of the boiler 1 is the same as the method of checking the real-time operating state of the boiler 1. The method of checking the state of the other boilers is the same as the method of checking the operation state of the boiler 1.
It should be noted that the above-mentioned embodiments are exemplary, and that those skilled in the art, having benefit of the present disclosure, may devise various arrangements that are within the scope of the present disclosure and that fall within the scope of the invention. It should be understood by those skilled in the art that the present specification and figures are illustrative and are not to be construed as limiting the claims. The scope of the invention is defined by the claims and their equivalents.

Claims (8)

1. A method for describing time attributes of objects and searching based on the description is characterized in that the method is characterized in that objects to be described are modeled to establish a historical database, a real-time database and a plan database which at least store the time attributes of the objects to be described and the space attributes of the objects to be described, historical data, real-time data and plan data in an industrial production monitoring and management process are stored by the historical database, the real-time database and the plan database respectively, and the historical operating state, the plan operating state and/or the real-time operating state of the objects to be described are searched through the time attributes and/or the space attributes of the objects to be described;
wherein the temporal attributes are described based on natural language conforming to a production industrial process;
the time attributes include at least a time location, a start time, and an end time;
when the object to be described is a static object, the spatial attributes at least comprise a geographic spatial range, a geographic spatial position and a shape size outline;
when the object to be described is a dynamic object, the spatial attributes at least comprise a geographic spatial position, a candidate geographic spatial position and a shape and size outline of a spatial range of the object to be described;
after the searching range is determined through the spatial attributes of the object to be described, the historical operating state, the real-time operating state and/or the planned operating state of the object to be described are searched based on the time attributes of the object to be described.
2. The method for describing temporal attributes of things and performing lookup based on the description as claimed in claim 1, wherein the temporal attributes and/or spatial attributes of the things to be described are custom multi-level structures.
3. The method for describing temporal attributes of things and performing a lookup based on the description as claimed in one of claims 1 to 2, wherein the method for modeling things to be described is:
classifying the object to be described into a historical data model, a real-time data model and/or a planning data model according to the time attribute or the association of the time attribute and the space attribute,
modeling the object to be described according to the space state of the object to be described,
modeling the object to be described according to the time state of the object to be described, setting specific attributes of the object to be described,
and collecting data of the object to be described so as to dynamically monitor and manage the object to be described.
4. The method for describing temporal attributes of objects and performing searching based on the descriptions according to claim 3, wherein the modeling of the objects to be described according to their spatial states at least comprises the following steps: modeling the space of the object to be described according to the space state of the object to be described so as to establish a space model, and instantiating the space model of the object to be described so as to establish a space object;
the modeling of the object to be described according to the time state of the object to be described comprises the following steps: modeling the time of the object to be described according to the time state of the object to be described so as to establish a time model, and instantiating the time model of the object to be described so as to establish a time object.
5. The method of describing temporal attributes of things and finding based on the description of claim 4 wherein the spatial model of the thing to be described and the temporal model of the thing to be described are associated to build a historical data model, a real-time data model and a planning data model, and
instantiating the historical data model into a historical data object, and configuring the historical data object with computer space attributes to form a historical database for storing historical data of the object to be described;
instantiating the real-time data model into a real-time data object, and configuring the real-time data object with computer space attributes to form a real-time database for storing real-time data of the object to be described;
and instantiating the plan data model into a plan data object, and configuring the plan data object with computer space attributes to form a plan database for storing plan data of the object to be described.
6. The method for describing temporal attributes of things and finding based on the description as claimed in claim 5, wherein the specific attributes of things to be described include at least temporal attributes of things to be described and spatial attributes of things to be described, and one or more of graphic attributes, audio attributes, video attributes and name attributes of things to be described.
7. The method for describing temporal attributes of things and performing lookups based on said descriptions as claimed in claim 6, wherein the data of said things to be described is collected by:
by directly collecting historical data of the object to be described from the scene of the object to be described or collecting historical data of the object to be described by calculation,
collecting real-time data of the object to be described through a sensor or collecting real-time data of the object to be described through calculation,
plan data is generated by importing plan requirements from a third party system interface and by computation.
8. A system for describing time attributes of objects and searching based on the description is characterized by at least comprising a data acquisition module, a data modeling module, a data storage module and an inquiry module, wherein the system is used for modeling the objects to be described to establish a historical database, a real-time database and a plan database which at least store the time attributes of the objects to be described and the space attributes of the objects to be described, respectively storing historical data, real-time data and plan data in an industrial production monitoring and management process by utilizing the historical database, the real-time database and the plan database, and searching the historical operating state, the planned operating state and/or the real-time operating state of the objects to be described through the time attributes and/or the space attributes of the objects to be described,
wherein the temporal attributes are described based on natural language conforming to a production industrial process;
the data acquisition module is used for manually or automatically acquiring the data of the object to be described and sending the acquired data to the data modeling module,
the data modeling module comprises a data modeling unit for constructing a time model and/or a space model according to the time attribute and/or the space attribute of the object to be described and a data model storage unit for storing the time model and/or the space model,
the data storage module comprises a historical data storage unit for storing historical states of the objects to be described, a real-time data storage unit for storing real-time states of the objects to be described and a plan data storage unit for storing plan states of the objects to be described,
the query module is connected with the data storage module and is used for searching the historical running state, the planned running state and/or the real-time running state of the object to be described; wherein,
the time attributes include at least a time location, a start time, and an end time;
when the object to be described is a static object, the spatial attributes at least comprise a geographic spatial range, a geographic spatial position and a shape size outline;
when the object to be described is a dynamic object, the spatial attributes at least comprise a geographic spatial position, a candidate geographic spatial position and a shape and size outline of a spatial range of the object to be described;
after the searching range is determined through the spatial attributes of the object to be described, the historical operating state, the real-time operating state and/or the planned operating state of the object to be described are searched based on the time attributes of the object to be described.
CN201610927538.6A 2016-10-24 2016-10-24 A method of description things time attribute is simultaneously searched based on the description Active CN106407469B (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN201610927538.6A CN106407469B (en) 2016-10-24 2016-10-24 A method of description things time attribute is simultaneously searched based on the description
CN201810894236.2A CN109189863A (en) 2016-10-24 2016-10-24 A method of description things time attribute is simultaneously searched based on the description
EP17864325.0A EP3531310A4 (en) 2016-10-24 2017-09-04 Method for retrieving data object based on spatial-temporal database
US16/343,210 US11243927B2 (en) 2016-10-24 2017-09-04 Method for retrieving data object based on spatial-temporal database
PCT/CN2017/100377 WO2018076930A1 (en) 2016-10-24 2017-09-04 Method for retrieving data object based on spatial-temporal database
CN201780020385.XA CN108885634B (en) 2016-10-24 2017-09-04 Retrieval method for data object based on space-time database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610927538.6A CN106407469B (en) 2016-10-24 2016-10-24 A method of description things time attribute is simultaneously searched based on the description

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810894236.2A Division CN109189863A (en) 2016-10-24 2016-10-24 A method of description things time attribute is simultaneously searched based on the description

Publications (2)

Publication Number Publication Date
CN106407469A CN106407469A (en) 2017-02-15
CN106407469B true CN106407469B (en) 2018-09-14

Family

ID=58012594

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610927538.6A Active CN106407469B (en) 2016-10-24 2016-10-24 A method of description things time attribute is simultaneously searched based on the description
CN201810894236.2A Pending CN109189863A (en) 2016-10-24 2016-10-24 A method of description things time attribute is simultaneously searched based on the description

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810894236.2A Pending CN109189863A (en) 2016-10-24 2016-10-24 A method of description things time attribute is simultaneously searched based on the description

Country Status (1)

Country Link
CN (2) CN106407469B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11243927B2 (en) 2016-10-24 2022-02-08 Beijing Wellintech Co., Ltd. Method for retrieving data object based on spatial-temporal database
CN107025110B (en) * 2017-02-24 2020-05-12 中国人民解放军海军大连舰艇学院 Temporal modeling method based on software development elements and relations among elements
CN110019541B (en) * 2017-07-21 2022-04-05 杭州海康威视数字技术股份有限公司 Data query method and device and computer readable storage medium
CN109544199B (en) * 2018-10-11 2021-06-01 口碑(上海)信息技术有限公司 Method, device, equipment and storage medium for determining commodity sales volume
CN109740856A (en) * 2018-12-07 2019-05-10 浙江恒逸集团有限公司 A kind of modeling method of the polyester fiber production management system based on single ingot data flow
CN109992641B (en) * 2019-04-11 2021-01-26 中国矿业大学 High-precision dynamic 4DGIS model construction method for coal mine unmanned working face
CN111950896A (en) * 2020-08-11 2020-11-17 上海凯宝健康科技有限公司 Pharmaceutical production management system
CN114167489B (en) * 2021-12-10 2024-02-02 北京大学深圳研究生院 Earthquake precursor feature screening analysis method, system and storage medium
CN115017141A (en) * 2022-06-30 2022-09-06 北京亚控科技发展有限公司 Digital twinning method, device and equipment for event full life cycle
CN115114268B (en) * 2022-06-30 2023-08-11 北京亚控科技发展有限公司 Method, device and equipment for organizing future state twinning
CN117472915B (en) * 2023-12-27 2024-03-15 中国西安卫星测控中心 Hierarchical storage method of time sequence data oriented to multiple Key values

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308487A (en) * 2008-06-25 2008-11-19 中国科学院地理科学与资源研究所 Space-time fusion method for natural language expressing dynamic traffic information
CN103678712A (en) * 2013-12-31 2014-03-26 上海师范大学 Disaster information spatial-temporal database

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231642A (en) * 2007-08-27 2008-07-30 中国测绘科学研究院 Space-time database administration method and system
US8589359B2 (en) * 2009-10-12 2013-11-19 Motorola Solutions, Inc. Method and apparatus for automatically ensuring consistency among multiple spectrum databases
CN101799835B (en) * 2010-04-21 2012-07-04 中国测绘科学研究院 Ontology-driven geographic information retrieval system and method
US20160034323A1 (en) * 2014-08-04 2016-02-04 International Business Machines Corporation Characterizing relationships among spatio-temporal events
CN104794150A (en) * 2015-01-30 2015-07-22 北京东方泰坦科技股份有限公司 Cloud storage model and management method based on space knowledge cloud environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308487A (en) * 2008-06-25 2008-11-19 中国科学院地理科学与资源研究所 Space-time fusion method for natural language expressing dynamic traffic information
CN103678712A (en) * 2013-12-31 2014-03-26 上海师范大学 Disaster information spatial-temporal database

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
面向对象的时空数据模型研究;徐真;《中国优秀硕士学位论文全文数据库 信息科技辑》;20080515;第2008卷(第05期);全文 *

Also Published As

Publication number Publication date
CN106407469A (en) 2017-02-15
CN109189863A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN106294887B (en) The description method to object existing for objective world and event based on space-time
CN106407469B (en) A method of description things time attribute is simultaneously searched based on the description
CN106294888B (en) A kind of method for subscribing of the object data based on space-time database
CN108885634B (en) Retrieval method for data object based on space-time database
CN108874988B (en) Retrieval method for data object
Wang et al. Industrial big data analytics: challenges, methodologies, and applications
CN106649867B (en) A kind of method for organizing of object data
CN111680025A (en) Method and system for intelligently assimilating space-time information of multi-source heterogeneous data oriented to natural resources
US20060112109A1 (en) Adaptive data warehouse meta model
CN108875087B (en) Method for describing object space attribute and searching based on description
CN116821223B (en) Industrial visual control platform and method based on digital twinning
CN115496452A (en) Digital delivery system based on digital twin
CN113722564A (en) Visualization method and device for energy and material supply chain based on space map convolution
CN112784129A (en) Pump station equipment operation and maintenance data supervision platform
CN116051069A (en) Operation and maintenance fault monitoring system modeling method based on knowledge graph and OPC UA protocol
Tang et al. Ontology based Knowledge Modeling and Extraction of Power Equipment Supply Chain
CN113868322A (en) Semantic structure analysis method, device and equipment, virtualization system and medium
CN206557772U (en) A kind of time of things describes system
CN206557773U (en) A kind of system described based on space-time to objective world existent
CN109242301A (en) A kind of soil performance interactive mode real-time analysis method based on big data framework
Zhigang et al. Multi-dimensional data comprehensive analysis platform for equipment
CN118395120A (en) Dynamic arrangement system and dynamic arrangement method based on industrial Internet
CN117149920A (en) Multi-dimensional data physical model building method of dam operation and maintenance system and data warehouse
Zheng et al. Research on the Application of Computer Big Data Information Technology in E-Commerce Platform
Wu et al. Research and application of OPC UA-based digital twin smoke alarm calibration workshop information model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant